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
7 views

Enable pointer-events: none in IE [on hold]

How i can enable pointer-events: none for all browsers. I added pointer-events: none in CSS and working fine in all browsers except IE8, 9, 10. I added pointer_events_polyfill JS plugin. But fails.
0
votes
2answers
21 views

Views: CSS Style

Normally when I create views, I will change the style at style.css. Example: #block-views-example{ margin: 0px auto; }. In the views, I see some styles setting. Am I able to just set the style setting ...
1
vote
4answers
20 views

Resizing the Height of 2 blocks to always be the same depending on block with most content [on hold]

I have two blocks based off views on the home page of my site: block-views-featured-resource-block block-views-featured-resource2-block I want them to be the same height as each other on the home ...
1
vote
0answers
7 views

Can't override module css for Mega Menu in Zen theme

I am a fresh convert to Drupal and still a novice overall. My problem seems simple, but I just can't figure it out. I installed a Zen theme, then a Mega Menu module. I am in the process of styling ...
1
vote
1answer
11 views

How to set all values of a field as body classes

I want users to easily modify the layout of a node by selecting options in a 'Layout' field that the node contains. The field is a entityreference field referencing taxonomy terms. (For example, the ...
1
vote
1answer
23 views

How to give class name to no results behavior in views

I added price column first to view > hide it. I added special price column to view > in no results behavior i added price field token as below: [field_price] How to give a css class name to the 'no ...
-1
votes
1answer
19 views

css file defined in .info file is not loading in Drupal 7

This is the my .info file details name = Tripsinn description = A flexible, recolorable theme with many regions. package = Core version = VERSION core = 7.x stylesheets[all][] = ...
0
votes
0answers
15 views

Background image doesn't reach the bottom of page on Long pages in Zen

I am noticing - on some very long pages the page background image doesn't reach the bottom of page, leaving all white background down below the page.... It happens on a very long article -pages , may ...
0
votes
1answer
69 views

unsetting css is not working

I am trying to unsetting the deafult CSS through a foreach loop, but seems its not working in hook_preprocess_html(&$variables) here is my code, please have a look. $arrCSS = drupal_add_css(); ...
0
votes
2answers
21 views

Newbie: Using css to style fields in a content type

I created a content type using html elements as fields and groups. The content type configuration page allows me to add classes (and id attributes) to the elements; however, they don't show up in the ...
2
votes
1answer
61 views

how to css print page [closed]

My page is designed with display suit layout. Once I click the printer friendly link, I do get the print page. In print module settings, I have entered custom css path > which is ...
2
votes
1answer
29 views

Aggregated CSS/JS file names, when regenerated?

What triggers the aggregated/compressed CSS/JS file names to be regenerated? Because of the default header for .css and .js set in Drupal's stock .htaccess is 2 weeks, this causes issues with Varnish ...
1
vote
0answers
47 views

Bootstrap Views Accordion Problem

I am trying to create a website. For this website, Ι am using the bootstrap business theme (Bootstrap Business Demo) of the good people of More than just Themes. I have also downloaded and enabled the ...
0
votes
0answers
6 views

Insert class in AJAX change Ubercart

I am trying to add a class onto an element after switching it out using AJAX. It's a select form, and whenever I switch countries, the state/zone field switches. Otherwise it isn't a problem, except ...
1
vote
1answer
27 views

How to change non-color-related CSS after the color module has been used?

I haven't used the color module in years, since I try to avoid it because I know it kind of freezes your CSS changes. I have a client who has been using color module with a customized version of the ...
0
votes
1answer
21 views

Omega theme not rendering correctly when css aggregation is disabled

I have tried clearing the drupal caches and manually deleting the aggregated files. Also tried clearing the browser cache. Anyone seen this problem before?
0
votes
1answer
20 views

Add class to taxnonomy term in view

I got a view listing nodes of the content type "Job". Every node is tagged with different "Jobtypes" that are listed too. Now i want to style every taxonomy different (colors, icons, etc.) so it would ...
0
votes
0answers
7 views

No CSS class for “language selection” field type

I've notice Drupal 7 renders Language Selection field types with not an own class, which would be very useful while writing CSS style. <div class="form-item form-type-item"> ...
0
votes
1answer
48 views

How to align three blocks on the front page using CSS

I've got three blocks on my front page and I want them to be centered and aligned. "About us" block is to be aligned to the left side of the front page what I managed to achieve. The other two ...
2
votes
3answers
65 views

How to create and send an HTML formatted eMail using CSS?

I am going crazy in making a welcome eMail in Drupal. What I want is sending a nicely formatted eMail using HTML and CSS. I do not need to send an eMail to user except a welcome eMail after user ...
0
votes
1answer
9 views

Contrib Module JavaScript interfering with Node

If one has a contrib module that works fine in most cases, but on a specific page (say /comment/comment) you wish it NOT to appear, but the options in Config don't give you that ability...what's the ...
0
votes
0answers
27 views

Trying to customize login page for mobile, interfering with desktop version of login page

I've been trying to customize the login/retrieve password/create account pages on the mobile version of my website for a couple of weeks now with little success. I haven't found a satisfactory answer ...
0
votes
0answers
21 views

Views Megarows - Strange resizing in Internet Explorer

Recently I've encountered a strange error with using views megarows and internet explorer. If I click the link that displays the megarow content, in IE at least all of the sudden the webpage has lost ...
0
votes
0answers
30 views

Problem using two TB Mega Menus one above the other

I am using Drupal 7 with the TB Mega Menu module. I have one menu positioned below the other in the following configuration: __________________________________________ | Menu bar 1 ...
1
vote
3answers
75 views

Bootstrap subtheme move main navigation

I have a sub theme based off bootstrap and my current nav bar look like this My goal is to move the menu (Home ... contact) to appear underneath the slogan when the page is larger than 768px as it ...
0
votes
2answers
38 views

Dynamic css from node?

I like to implement this codepen into drupal but the images in the background should come from a ctype within Drupal. The codepen example: http://codepen.io/AmeliaBR/pen/myPBNg So basically how to ...
0
votes
0answers
10 views

Is it possible to edit the text size of shortcode outputs from within admin?

I'm using Drupal 7, and I have a carousel that uses shortcodes to output text. [testimonial name="Angela Somone" sequence = "3"] My daughter attended the... It would be good If I could adjust the ...
0
votes
1answer
41 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
30 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
57 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
27 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
66 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
9 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?
0
votes
0answers
25 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
34 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
116 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
42 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
28 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
45 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
39 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
39 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
74 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
41 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
27 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
24 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
17 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
64 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
20 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
36 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 ...