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

0
votes
0answers
17 views

Moving Elements around in Date Field

Trying to make the Date Module a little more user friendly. I found out how to remove the Fieldset wrapper, and put the start and end dates in line, but due to where the check box resides, the field ...
1
vote
0answers
19 views

Cannot target <img> tag after switching to Picture module

I have a image field that I have added an 'onload' attribute to in template.php. function mytheme_preprocess_field(&$variables) { if($variables['element']['#field_name'] == 'field_images'){ ...
0
votes
0answers
21 views

Frontpage without style.css after update

After I installed the last update, the front page does not load the style.css anymore. All content is there but it is not layouted. If I change to any subsite, everything looks as intented, i.e. the ...
0
votes
0answers
40 views

D7 sites/default/files/.htaccess caused unloaded css&pictures&etc…

After an error [SA-CORE-2013-003 - Drupal core - Multiple vulnerabilities] notice showed up in my site's status report page, I rewrote the content according to this ...
2
votes
1answer
8 views

Drupal 7 Comments Alternating Row Colors

I'm interested in making the comments that appear on my resource content type nodes show with alternating background colors. Anyone know how to make this happen? I tried something like this with CSS ...
1
vote
2answers
35 views

How to add classes to some images in a multi value image field?

I have content type with a multi value image field. When adding images is it possible to add a class to some of these images? The mark up I'm trying to achieve is some thing like: <div ...
0
votes
0answers
7 views

Add class to empty Panels regions

How can I add a css class (.empty-panel-region) to Panel's regions that don't contain any panes?
-1
votes
0answers
23 views

Mark new content in a view

I'm looking for an easy way in a view, to highlight or mark content that just has been created. My case is a simple tasks list that is not ordered by date, so newly created tasks end up somewhere in ...
0
votes
0answers
22 views

no css/javascript when anonymous

I finally was able to fix my site in our stage environment until I logged out of the admin section. Now the site has no css at all. All the html seem to be fine. If I login as admin, the site is still ...
0
votes
0answers
8 views

Custom panel layouts module admin interface not showing the grid properly

Anyone around have experience with CSS grouping and weight? We've created custom panels layouts that uses our theme's CSS framework for the grid system. The issue is that the admin interface for the ...
1
vote
5answers
82 views

Best way to add a wrapper <div> to selected fields in a content type

I have a content type called resources which has a bunch of fields including a screenshot image field. When I order the items the screenshot shows at the bottom (or at whatever weight I set it). But ...
0
votes
0answers
11 views

aggregated JavaScript and css corrupted on production server only [duplicate]

Am having an issue with my production server with aggregated Javascript and css files getting corrupted this works fine on the local dev server any ideas on what maybe the cause of this. Here is a ...
0
votes
1answer
39 views

CSS\JS Aggregation “Shuts down” Firebug indication

I have CSS\JS Aggregation on, and I've installed the AdvAgg module and set it for Development mode. The site works fine, but now I can't really use Firebug... Firebug no longer shows me, for example ...
0
votes
0answers
20 views

Add a common class for <li> under the same parent in Taxonomy Term Reference Tree Widget

I'm using D7. I'm using Term Reference Tree module. I'd like to add a common class to <li> tags that belong to the same parent. Because I want to set a class that works all of <li> tags ...
0
votes
1answer
21 views

Is it possible to disable CSS and Javascript aggregation by role?

Is it possible to disable CSS and Javascript aggregation by role? That way during content editiong or administration stages the user is not affected and can check the CSS alright, while end users ...
0
votes
1answer
29 views

Changing color of form html with Javascript

I have some custom HTML and CSS added to a form module I've created. It looks fine; the css is styling it correctly with a drupal_add_css() stylesheet. But I also want to add some Javascript using ...
0
votes
2answers
28 views

Display and Modify CSS variable ? (Module)

I'm developing a basic module that allows site admin to have the NavBar for mobile and Administration menu for the desktop view. This can easily be done by adding this CSS. #navbar-administration { ...
0
votes
1answer
37 views

Full height sidebar using jquery

I'm playing around with Drupal, and I am coding a subtheme of Zen. Now I'm stuck at something, I want to achieve a full length sidebar when the content isn't large enough, so that the sidebar takes ...
0
votes
2answers
35 views

Malicious Code - Website Disable

I'm new to Drupal. My website has been disable due to malicious code found in /var/www/vhosts/domain.com/httpdocs/sites/all/themes/tao/tao/css.php What should I remove in this file? ...
-2
votes
1answer
17 views

why does the overlaying content in the admin mode not show up anymore? [closed]

Okay, my Drupal admin interface used to work just fine until I introduced some jQuery and CSS changes this morning for the mobile adaptive interface. Now, When I'm in admin mode and for example click ...
0
votes
1answer
18 views

Is it possible to add a wildcard in template.php to apply function to multiple items

I have a webform with 20 different select options under different fieldsets and they all need to have a custom drop down select field title. To achieve that you use this: function ...
0
votes
0answers
15 views

Do Syntax Libraries for LiveCSS and Geshi Filter

I can not say for certain, but I suspect odd/erratic behaviour of LiveCSS module that uses Ace syntax filter library may conflict with other syntax filtering parsing modules/libraries such as Geshi ...
1
vote
3answers
59 views

CSS file is not attached

I set at the .info module file the parameter to add a css file, stylesheets[all][] = css/style.css but it is not attached even if I clear the cache. I have look for the web to get the reason but ...
0
votes
0answers
16 views

Cannnot turn off aggregation. Could it be due to server settings?

I am working on a site and two days ago I saw some of the styles on the site disappear. I check the Performance settings in Configuration, CSS and JS aggregation were off. I asked the server ...
1
vote
1answer
24 views

The RTL css file is not working for a menu

I wanted to make the CorporateClean theme RTL. Every thing is Ok except Main Menu. It effects alignment for both languages. For Persian is also right and for English as well. As example: I wrote the ...
0
votes
1answer
40 views

Changing font size to percent in theme [closed]

I want convert font size in existing theme from px to percentage. The theme and the CSS. Should I change font-size in body and headers only, or better to change font size in all places in CSS? What is ...
0
votes
1answer
16 views

Apply style to administration interface [duplicate]

I would like to do a minor change to the form in which articles are added, it's just a few lines of CSS. However drupal doesn't seem to load the stylesheets of my theme if the admin interface is used ...
0
votes
1answer
29 views

Page Title outputting leading/trailing whitespace within H1

My Drupal 7 site is printing out leading and trailing whitespace and a line break within the page title <h1>. The following is an exact copy and paste of the HTML that's being delivered to the ...
0
votes
2answers
23 views

adding css classes into a specific image field

is there a way to add css classes only to specific image field? with the image field name field_news_images: <img class="thumbnail" src="../images/something.png"/> There are no options to ...
1
vote
1answer
25 views

How can I ensure that availability calendar only show one month at a time?

I'm displaying a calendar on a basic page and I have specified that I want the monthly views to show only 1 at a time. 1 per col / 1 per row. For some reason 3 are displayed. my calendar can be ...
0
votes
0answers
13 views

fivestar_add_css in D7

What is the equivalent for fivestar_add_css in D7? Basically, I'm looking for a function that would add the necessary fivestar css files to a page. I am looking to add the oxygen widget. I guess I can ...
0
votes
1answer
29 views

edite content type style

I clone content type by using bundle copy module, but the view of the content type never the same as the first one, how can I clone the style too
0
votes
0answers
14 views

isolate css for block content using neat_scrollbar

How can I isolate the css for a block using neat_scrollbar? I have tried adding my custom class to both the module preferences and the block but I think I need to add something to maybe the ...
0
votes
0answers
38 views

Adding css file to page loaded via ajax

What I am trying to do is, when the user hovers over a link, I am using jQuery to load the html that is being returned from my Drupal callback function and append it to the body. It's more like a ...
0
votes
1answer
18 views

Strip caption from image using css

I am adding a caption to images by using the following module: https://www.drupal.org/project/image_field_caption For the front page I am using views. There, I also show the images but I do NOT want ...
0
votes
1answer
77 views

CSS not working after Commerce AJAX processed on field

I have got a problem with css after Drupal processes radio buttons on Drupal Commerce product page. Radio buttons are formatted (images instead of typical radio) Formatted radios After clicking ...
1
vote
2answers
48 views

URL paths in optimized CSS sometimes are https instead of http

The expanded URLs inside my optimized CSS files are sometimes getting generated with https instead of http. This appears to happen randomly. Doing a cache clear, recreates the optimized CSS and ...
0
votes
0answers
112 views

SSL errors on Heroku (Mixed contents)

I have an app via Drupal 7 on Heroku. You know, myapp.herokuapp.com is default with SSL. But when I try https://myapp.herokuapp.com get many errors in console like this: Mixed Content: The page at ...
0
votes
1answer
36 views

how to clean up the markup of output

I'd like to change the output from the field formatter view from the Field API. I'd like a cleaner markup without unnecessary tags. What's the best way to clean up field formatter view output? Many ...
0
votes
0answers
20 views

custom module css not add

function doLookup($baseRootDir) { if (variable_get('xmldata')) { $xmldata = variable_get('xmldata'); } else { $xmldata = ''; } $rootDir = realpath($baseRootDir . DIRECTORY_SEPARATOR . ...
0
votes
3answers
63 views

Cannot apply custom CSS via theme settings [closed]

With Drupal 7.x and the Whitejazz theme, I want to apply custom CSS styles to some elements. This theme has the option to include custom CSS styles by specifying the path to the CSS file (in ...
2
votes
1answer
73 views

Change file path of aggregated CSS file path

How do I go about changing the file path of the aggregated CSS file paths? As most of you know, when using the Drupal option (from admin/config/development/performance) to 'Aggregate and compress CSS ...
0
votes
1answer
66 views

How to put two blocks inline in menu bar

In every theme I tested so far, when a block is added to Menu bar area, each block is always shown stacked in pile, my question is: There is a way to to make two or more blocks showing inline in ...
0
votes
0answers
31 views

Problems with Language Switcher placement

I have some trouble with the placement of the Language Switcher on a German/English Drupal 7 site. I have read many pages without finding an answer I could work with which may be due to that fact that ...
0
votes
1answer
37 views

Conditions for using mail.css and mimemail with drupal_mail

Problem I'm trying to style an email sent with drupal_mail. Sometimes it works, other times it doesn't and I can't work out why. I'm running mail system, SMTP and mimemail: Mail system sets up: ...
0
votes
0answers
32 views

How to add CSS and HTML div's to my custom form [duplicate]

I create a form using custom module. That form contains text fields and text areas, check boxes. I place a URL in mymodule_menu() I render that form on page. Now i need to display my form elements in ...
1
vote
1answer
47 views

How to patch file-field.inc/file.css webforms file upload progress bar [closed]

I installed the PECL uploadprogress bar for my webforms module in drupal 7. This is installed fine but when i try to actually show the uploadprogress bar it just doesnt show up but puts a empty body ...
2
votes
2answers
51 views

how to find css file that is causing a problem

there is a css file somewhere in my drupal site which is causing the wrong font, but it is not global.css nor any css file in my theme. I can see the problem when I look at it in firebug (I see the ...
0
votes
0answers
163 views

Inserting custom social media icons to nav.bar ( tb-megamenu )

I have been playing around all day and have been trying to get my social media in my navigation bar to the far right for people to click on and be directed to my social media account. I am using tb ...
0
votes
1answer
89 views

Add custom CSS code for a textbox in form

The following are the code in my module function for textfield in my form: $form['price'] = array( '#type' => 'textfield', '#title' => 'What is Your Price?', '#size' => 100, ...