Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language.

learn more… | top users | synonyms

-1
votes
1answer
16 views

custom registration form remove username and add validation

This question relates to Drupal version 7. I'm failing to customise the user registration form, specifically I want to change/add: Default fields remove username from the registration form ...
0
votes
0answers
10 views

Drupal 7 Extend footer to bottom of brower for short page

In Drupal 7, for short page without too much content, the footer can move up and leave some blank space below the footer. How to extend the footer to JUST the bottom for short page situation? Might ...
-1
votes
0answers
13 views

placing blocks side by side

I found a solution to my question but the problem is I don't know where to insert this code. Is there a way to input this code through the site or do I need to go into the css files to do this? ...
-1
votes
0answers
11 views

Need help, netbeans css

I am setting up a working environment I am hosting on AWS with Ubuntu Linux Using Windows as a desktop Using Zen sub theme Using NetBeans PHP version as IDE Everything looks promising but I face one ...
0
votes
1answer
15 views

Bootstrap subtheme does not recognize stylesheets [on hold]

I'm trying to use a custom (LESS) build of Bootstrap in my Drupal project. I have a subtheme in the proper folder and have compiled a style.css file. However, Drupal does not recognize this file. So ...
0
votes
0answers
11 views

Implementing color module / Stylizer in Zen sub-theme - is it possible? [on hold]

I've just learned of the Stylizer module, and I've known of the color module for quite a while, I'm pretty sure due to the color's incompatibility with the Zen Subtheme, Stylizer is thereby also ...
0
votes
1answer
30 views

How to get a scrolling background image using CSS or Java Script within Drupals folder structure

I Found a site with a cool Background function. It scrolls like a slide show. Here is the example: EXAMPLE I am trying to figure out how to do this within Drupal. I have found a bunch of tutorials ...
0
votes
1answer
13 views

Drupal 7 background image fixed without scrolling

In a Drupal 7 website, want to have background image fixed without scrolling. Used overflow-y:hidden to make it, but only working in Firefox. body { overflow-y:hidden; } The overflow-y ...
-3
votes
1answer
29 views

How to give space between rows of a table [closed]

I have a view in Drupal and I want to give more space between elements rows. How do I do it?
0
votes
2answers
79 views

How to put the menu above the content?

I'm developing a website with drupal 7. I want to put the menu above the content. I use zen theme. How I does it?
0
votes
1answer
24 views

Fix a constant width for first sidebar and second sidebar

I'm working on Zero point Theme in drupal 7. In my home page I've three blocks - first sidebar, content and second sidebar formatted as three columns. Here the width of first sidebar and second ...
0
votes
1answer
15 views

Theming: when I use a smaller device, my main content goes behind my sidebar

I am making a sub-theme from the basic theme for Drupal 7. The side bar works fine on all sizes above 480px in length, but on 480px or below, my content goes behind my sidebar and there is a ...
0
votes
1answer
36 views

@font-your-face don't work when 'Aggregate and compress CSS files' is enabled

I added font using @font-your-face module and everything works just fine except when 'Aggregate and compress CSS files' is enabled. When I enable css aggregation and compression, whole website use ...
0
votes
1answer
28 views

Where is $page['sidebar_second'] rendered? I want to edit the style of the <ul> listing of the recent comments

The comments in the block recent comments is styled with an unordered list. I want the points of the list beginn exactly under the N of New Comments. Google Chrome tells me that there is a ...
0
votes
0answers
27 views

Subtheme's newly created CSS files aren't working

I'm currently using Zen for my subtheme, and attempting to add CSS to my .info file, but all my effort is for naught. The .info file is in my subtheme's root, and is named as such - mytheme.info. When ...
0
votes
2answers
51 views

Guide on How to Load CSS File Per Role

I'm looking for the simplest solution to allow a custom CSS page to load per role. I have to the CSS pages done, but just need to load them and ensure they are only loaded based on user role. I'm ...
0
votes
3answers
38 views

How to make single page website in Drupal

[single_page_website][1] The single page website module works for bartik and zen themes. How about other themes? How to make single page in Drupal 7 website generally?
1
vote
0answers
24 views

Dropping host part of the url when loading resources

I have a particular problem with the site here. It's a b2b site and it has a word 'advertise' in the domain name. When Drupal loads resources (css/js) it refers to the full url, including that domain ...
0
votes
0answers
30 views

Add class to sub-taxonomy terms

Is it possible to add a class to my subterms in a taxonomy vocabulary? So I can style theme and indent them. This is my taxonomy vocabulary: And in my front-end it looks like this: I'd like to ...
1
vote
2answers
42 views

Panels Page Title CSS?

I have created a Panels Page but can't find out how and where to put the class for the title? Right now it uses the core Page Title CSS but I wan't every Panels Page Title to be unique. Edit: I've ...
0
votes
1answer
16 views

How to use multiple styles for Nice Menus?

I'm having two Nice Menus, both are displayed in my website's top bar. I created a default CSS layout for them and everything looks quite nice. However, I'd now like to change the layout of the second ...
0
votes
1answer
14 views

How to get rid of a style attribute so my nivo slider will show up?

I am using the Nivo Slider and for some reason it has a style attribute in its div tag that says style="width: 0px"; I am trying to get rid of this so my slider will appear. I am not sure where ...
0
votes
2answers
20 views

how to disable and delete correctly the boost module

in the last days Im having serious problems with the module boost, for some reason it is not loading the Javascript files, and CSS files. My site looks horrible for anonymous users its not loading the ...
0
votes
1answer
36 views

Changing numbers of render-blocking JavaScript and CSS

I have a drupal 7 site. I use the Advanced CSS/JS Aggregation module In the past I asked this question, and tried to improve performance and "Eliminate render-blocking JavaScript and CSS in ...
0
votes
3answers
47 views

Node with picture left and text right [closed]

I have a content type with image and body fields. I am trying to edit the css so that the picture is on the left and the body/text is on the right with all the text staying in a column on the right ...
0
votes
1answer
25 views

How to override subtheme settings (inheritance)?

I am having some difficulty overwriting my subtheme code using my own theme.css file (located in sites>all>themes). I can find the code that results in the display of whichever css style property I'm ...
0
votes
1answer
46 views

How to target the “site name” within a css file

How does one target the site name (the one that appears immediately below the site logo) within a css file? I would like to both change the color of the site name text in addition to centering the ...
2
votes
2answers
151 views

Add a CSS class to a certain text field for node display

How can I add a CSS class to a certain text field? I have a content type, "Board Member", displaying thusly, see my screen shot below if it comes through... This is the node, not a view. The text ...
0
votes
1answer
29 views

#attached css in render array not working

I am trying to render a block with a custom css with it. I have obtained a render array for the block and now I add to it: $render_array['#attached']['css'] = array( base_path() . ...
3
votes
1answer
228 views

Body class name has an ampersand

I am styling a page in a Drupal 7 site that has the title "Weddings & Private Events" and a URL alias of /weddings-private-events but the body class name is weddings-&-private-events which is ...
1
vote
2answers
43 views

Drupal 7 Unnecessary CSS FIles

I am in the process of optimizing my Drupal site by removing unnecessary css files. Running an audit I have found that /misc/ui/jquery.ui.core.css, /misc/ui/jquery.ui.theme.css and ...
0
votes
2answers
44 views

CSS fix for stacked gear icons in Drupal Panels? [closed]

When using the Panels module within Drupal, I often end up with multiple gear icons stacked on top of each other, inaccessible to the Drupal admin. For example, take a Panels page with this ...
0
votes
1answer
23 views

simple layout fix for IE

I'm using Omega3 and having just a couple styling issues with IE. (The site looks good in every other browser) Is there a simple way to detect IE and call an IE specific style sheet to fix these ...
0
votes
0answers
28 views

Add CSS file on delete specific node

How can I add a css file to the specific page where you delete a node of type = ... . I know you can add css files to specific pages like this: function hook_preprocess_page(&$vars) { $path = ...
0
votes
0answers
17 views

Need to know the most essential JS and CSS files for a Druapl 7 page

I am creating a module that has a page that is intended to be a viewer for a certain kind of content. The content itself is a Drupal Book viewer meant to behave like an epub reader. Basically I want ...
0
votes
1answer
22 views

What to do if we want a input format for select options of a webform?

I have a web form with select option field whose value is quite long. I cannot use css to configure this. I need to use input format so that I can break this option using HTML code. Is there any ...
0
votes
2answers
28 views

How can i load a specific CSS file for a specific View?

What's the best way (best practice) to load a specific stylesheet for specific View. i managed to do it like this, in the template.php file but i'm thinking this is pretty awkward and there is a ...
0
votes
1answer
45 views

Hide the image “file-icon”

I have a view in D7 that creates a table of meeting dates, agenda files, minutes, and other attachments which are all pdf's. I like the view so far but I don't want to see the image that is in the ...
0
votes
0answers
35 views

my css and javascript files do not load and do not work?

my uploaded drupal7 website worked correctly for 2 days.but suddenly when i refresh it,every things go wrong. site loads with no css and no java,and no pictures. it said that the css (and js) files ...
0
votes
1answer
32 views

Dynamic theme CSS editing for designer?

I am working on a theme with a designer. A Drupal theme typically stores a style.css on file system which can be access via SFTP, which may not be an easy interface for a designer. Is it possible to ...
1
vote
0answers
23 views

Format inline drupal form elements

I got this: As you see I already aligned label and input field inline with CSS, because they are both inside same container, but the button is outside. I was wondering if I could somehow move the ...
0
votes
1answer
25 views

Add css file when editing specific content type

I would like to add a css file when editing content of the content type invoice. The link is something like this: node/121/edit . I've tried it with it with preprocess_node like this: function ...
0
votes
1answer
96 views

How to add class to specific TD in view table?

I have a view created /admin/structure/views and it is a table. How do I add a class (f.ex. "bgred") for a specific TD (f.ex "title") in this table without using JavaScript ? I mean I have some ...
0
votes
0answers
24 views

Bootstrap CSS Links in Head Gone After Toggling CDN?

Drupal 7.28 Bootstrap Theme 7.x-3.0 Everything was working fine. I enabled the Bootstrap CDN in the Theme settings, suddenly I have no theme at all. Ok, maybe CDN is down, no big deal... disabled ...
0
votes
1answer
43 views

Add class to template based on boolean field

I want to add a class to my custom Display Suite template if a boolean field is checked on the form. I have the following code: if (isset($node->field_boolean_field[LANGUAGE_NONE][0]['value']) == ...
0
votes
3answers
54 views

How to use checkbox under description of any webform field?

I am using webform module where I have a text field named Mobile Phone Number. I wanted to use checkbox under the text field as shown below: The content can be written in the description of that ...
1
vote
0answers
25 views

Creating a different type of block, please help [closed]

I'm the front end designer for my job. We been using Drupal 7 with the omega theme to create a new website. This is the last major thing I have to do to finish the site, and I have no idea where to ...
0
votes
2answers
59 views

Using Drupal variables in CSS?

I'm using CSS to implement a banner image in my theme: #banner { background: url("../images/banner.jpg") no-repeat fixed } Site users would like to be able to change the image within Drupal. ...
0
votes
0answers
21 views

Drupal 7 extra class added to page

Drupal 7 extra class added to page In Drupal 7, sometime a views can add class contextual-links-region here. So it makes the contextual link show up in all the views, not just the view you mouse over ...
0
votes
1answer
51 views

Views: Is it possible to Group “exposed” filters in a <div> and add css to it?

In Drupal 7, I have a Views which contained "content: ID", "Content: Type", "Content: Title", "Content: Organization", Conent: City", "Content: State" and "Date: Date(node)". They are all exposed. How ...