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

How to position my forgot password link below password input box? [on hold]

I am creating a login form and want to place a forgot password link below the passord input field. Here is my anchor code in HTML: <a id="forgot" class="password" href="forgot.php">forgot ...
1
vote
1answer
17 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
0answers
9 views

Default (min) height of a Page [on hold]

running Drupal 7.35 with multipurpose theme. How can the minimum height of a page be set globally? that can be done in CSS but for which div class? it's just to cascaded... => Content => Add Content ...
0
votes
0answers
13 views

How to horizontally align two panel pane views next to each other [on hold]

I have two menu's that need to appear as one. The menu's both must be flexible in width and number of menu items (no fixed width). The menu items must also be flexible in width (no fixed width) The ...
0
votes
1answer
17 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
19 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
2answers
20 views

How do I add padding between each Article/News post? (Using theme 'Zen') [closed]

Alright so I'm pretty new to creating a theme for Drupal and I am currently working on styling how the Articles/News are shown using the theme Zen, I want to make it so their is space between each ...
0
votes
0answers
6 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
44 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
52 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
23 views

Full width image in panels gives bottom scrollbar [closed]

With panels i am trying to display a full width image. However when the image is dipslayed my browser displays a bottom scrollbar. Like my image is 10 pixels to wide. I have tried adding my image to ...
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
22 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
20 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
24 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
60 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
35 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
31 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
26 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
50 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
19 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
51 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
8 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
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
23 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
102 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
25 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
36 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
35 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
35 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
52 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
38 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
23 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
22 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
61 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
19 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
28 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
48 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
18 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
32 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
26 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
33 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
31 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
20 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
51 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 ...