Styles are allows users to apply CSS and to improve look and feel of the site.

learn more… | top users | synonyms

1
vote
1answer
21 views

Stylize book index with images

Intro: In the root page of the book, there's an index on the bottom that lists all the child pages. There are also links to previous and next page in each of those child pages. Not sure what the ...
2
votes
1answer
28 views

How to make a style plugin available only for certain types of panes?

I'm trying to simplify the admin UX on a site with a few different custom style plugins. I have plugins A, B, C, and D. I want plugins A and B only to be able to be applied to menu block panes. I ...
0
votes
1answer
14 views

Buttons get longer when pressed if using AJAX

I'm using Ajax Commerce Cart Cart with a custom Drupal 7 theme that I made with Artisteer, but the issue does not seem to just be related to the one module. Whenever AJAX is attached to a button, when ...
1
vote
2answers
70 views

How to style the default upload button?

Problem I want to style the default upload buttons. How should I go about doing this?
0
votes
2answers
36 views

How to change how WYSIYG styles things?

Instead of using HTML underline tags, I want the WYSIWYG editor (CKEditor) to wrap a span around the highlighted text. Does anyone know how I can achieve this? Thanks!
0
votes
1answer
25 views

Can't get rid(find) of this margin. Please help! [closed]

I isntalled the Professional theme and Content Glider - all very simple. I got rid of titles and all in the glider, but I can't find the code where the blank line or margin is created. Drupal is new ...
0
votes
2answers
41 views

In Drupal 7 how could I change style.css conditionally

Where in drupal themes files I could apply the following blueprint code: if ($language->language == 'ar'){ // Do something to change the included style.css to be style_rtl.css } Does it ...
0
votes
2answers
48 views

Do I have to delete the default folder?

Do I have to delete default folder which is located under /sites? Because I installed new theme and I think there is no need to keep the default theme. And, if I can't delete it, please tell me why?
0
votes
2answers
37 views

Styling label of a select list thorugh form API

I want to style the label of my select list with bold font and give it some color. This is the code for rendering form which I am using in a hook_block_view $form['dropdown_first'] = array( ...
0
votes
1answer
40 views

Is it possible to style a Views 'group by' field that's excluded from display?

I'm working on a glossary view. I have created letter headers by rewriting a copy of the term title, limiting it to 1 character, excluding it from display, and using that as the "Group By" field. The ...
0
votes
0answers
15 views

Styling Forms in Drupal 7 with Twitter Bootstrap [duplicate]

Being a complete Drupal noob i'm lost in a vast amount of conflicting information in my searches. I'm finally getting to the polishing part of my website, I'm wanting to stat styling my forms like I ...
0
votes
1answer
30 views

How to create a template and use it in a number of pages

I am new both to drupal 7 and site creation. I am creating now a persoanl website and part of this website is a wiki which has a number of "How to" pages. Supposing that all these pages are linked on ...
0
votes
0answers
183 views

Custom CKEditor config ignoring object styles

I'm using the WYSIWYG module with the CKEditor library and I'm trying to customise the styles available. This works fine: CKEDITOR.editorConfig = function( config ) { // config.styleSet is an ...
0
votes
0answers
10 views

Problem in sweaver font-family select list [duplicate]

I have installed sweaver module in my website. Issue 1: There is a problem in selecting font-family in sweaver tab in google chrome browser. I can't select a font-family from font-family select ...
0
votes
0answers
60 views

Rename image style filenames when images are generated using tokens

I thought there would be a module for this but I can't find one. I want to rename the image files that Image styles generates in D7 using tokens such as title and also the files image style machine ...
1
vote
0answers
41 views

Getting rid of the form validation error bubble in Panopoly

In Panopoly, errors that display with form_set_error() do not display in a block at the top of the page the way they normally do in Drupal. Instead they display in a floating popup that looks like a ...
1
vote
1answer
313 views

How do I remove all default styles (such as div.widthMarker) from CKEditor?

I have copied ckeditor.styles.js to /themes/seven/ckeditor.styles.js, and in the configuration page /admin/config/content/ckeditor/edit/Advanced I altered the predefined styles drop down to point to ...
0
votes
1answer
285 views

In Drupal 7 how do I check if a node author has a certain role?

Specifically, I have custom node.tpl.php called node--directory.tpl.php works great. Now how do find out if the node author has the role 'premium_user', so that node will have premium style features. ...
0
votes
1answer
36 views

I want to define a hover color in the style sheet [closed]

I designed a page with the corporateclean theme on http://www.athleticedgefitness.com/. I used nice menus for the drop down. Now I would like to color all my links #E3007B on hover, but I'm not ...
3
votes
1answer
61 views

Is there an ready-made solution to mark edited form fields?

When you edit something in text editor or IDE, you get visual feedback - star next to file name, bolded file name et cetera. That way you easily know what has been edited and what not. Is there a ...
0
votes
1answer
23 views

using css in wysiwyg for custom page

I want to allow my end users the ability to save custom css (sass would be better) along with the page content that they edit in a WYSIWYG. I know they can put styles inline but sometimes it's useful ...
0
votes
2answers
64 views

Advanced content layout in drupal

I've been evaluating drupal and I'm at a point where I have my header, footer, and sidebar set up properly. I have a basic page node type and I've created a few test pages. My test pages have been ...
1
vote
2answers
81 views

Drupal 7 Views Inject Content

I have a View setup in Drupal 7 that is a list of products. Each product has an associated location and all of the locations in a view are displayed in a map that is on the bottom of the page. What ...
0
votes
1answer
61 views

Is it good practice to style the panel layout?

I have a panel layout. I was wondering if its okay to apply additional css ids / classes to this or to style elsewhere? I am using panels everywhere and I have moved the layout into my theme.
0
votes
1answer
267 views

How to have different style files in multilingual website using Drupal?

I have been developing a multilingual website using Drupal 6. The languages are English and Spanish. I want to have some different backgrounds and css for them. But both use just style.css. How can I ...
1
vote
1answer
95 views

Node/add and node/edit do not display forms

I am logged in as an admistrator account and all relevant permissions are enabled for admistrators(some rights to delete a few types are disabled). When I attempt to edit or create an event I get a ...
0
votes
2answers
549 views

How to override system.menus.css

system.menus.css has it's own styles for the menu block. How can I override this style? Would creating a folder called CSS in my theme and adding a file system.menus.css override it?
0
votes
1answer
37 views

Add class to links in delete page

I want to add a class to the link in my delete content page, currently the 'delete' button itself is styled because it falls under the styling for input[type=submit] in my CSS, but the 'cancel' button ...
1
vote
1answer
60 views

Profile image goes over the text on advance forum in drupal 7

I'm fairly new to Drupal and I'm testing out Advanced Forum module on my site. The problem I'm facing is that when photo which is uploaded is bigger than user info layout, then it goes over the ...
0
votes
1answer
59 views

Primary links background not visible by non-admins

I have styled my primary links with a background and it all works out just fine. Except for when I log out, the background disappears. So it looks like the anonymous user doesn't have permissions to ...
0
votes
0answers
56 views

Share this button affects front page menu when blog is promoted to front page

I am using the Share This module in Drupal 6 to put a button in blog page only, and when I am promoting a blog entry to front page my primary link menu displays with incorrect CSS. Is there a ...
1
vote
1answer
429 views

Overwrite Taxonomy Term page display settings with custom URL's

I would like to define the display settings of my Taxonomy term page. As I understand, this is possible by configuring the Taxonomy view provided by the Taxonomy module. However, I use custom ...
0
votes
0answers
355 views

TinyMCE on Drupal 7 adding class to <p> instead of <span>

I have a custom class that I want to be able to add to parts of a sentence using a <span> tag. It's a title field, so I don't want it to be wrapped in a <p> tag. However, TinyMCE insists on ...
0
votes
2answers
1k views

How to Style the OM Maximenu using an AT Base Theme in Drupal 7

I am trying to install the Om Maximenu while keeping the AT Base Theme's menu styling. I have followed the following instruction: Main Menu - You have the option to make this as your main menu. ...
0
votes
1answer
49 views

How do I add a custom style to node by its type?

I've tried following the instructions on http://drupal.org/node/1089656, but I somehow can't get it right. How do I apply custom layout/style to a node based on its type?
0
votes
1answer
29 views

Why my stylesheet won´t load into my node/add forms? (D6)

I wanted to have a special template for all my node/add forms, in my Drupal 6 installation. So, I´ve added this code to a little module: function modding_preprocess_page(&$vars, $hook) { if ...
3
votes
4answers
1k views

How can you force a stylesheet reload in Drupal7?

This is about that old trick of tacking a fake query argument onto the URL of a stylesheet (e.g., <link rel="stylesheet" type="text/css" href="http://www.example.com/site.css?v=123">) so that, ...
2
votes
2answers
248 views

Views group different number of divs of a view by wrapping them

I have a views block that is displayed in the content section of a node. What I need is wrapping the rows of the views block by divs. I have a list of 10 divs like so: <div class="row-1">Some ...
2
votes
1answer
819 views

How do I adjust autocomplete list width

Has anyone been successful in adjusting autocomplete list width (entity reference tag style)? I have hard time grabbing the element in Inspector/Firebug. The goal is to have the width wider than the ...
6
votes
6answers
6k views

Add style attribute to view fields

I would like to add a style attribute to each title fields in my view. I have created one field for a color. I tried to rewrite the result like this: <h2 style="color: ...
3
votes
1answer
2k views

How to use custom modal with ctools and triggered by a button form

I'm using ctools to render my node form. And my quesiton is how to insert the custom style for the popup window. I know how to use the custom style in the text button. but I don't know how to use it ...
0
votes
0answers
202 views

panels: “no markup at all” as default

Is there a way to set "no markup at all" for all new panel displays and panes as default? Or disable the other styles, like "rounded" etc, at all? Regards, Philipp
9
votes
2answers
9k views

How to set Media Styles in Media 7.1.2 / Media 7.2.X?

Where is the latest form of the component in the Media project family that allows styles to be defined for Media files? I see a lot of references to the idea that the Media module contains, once ...