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
1answer
15 views

Entityform is spanning the full width of the browser. Well beyond page margins

http://chesapeakeregional.com/volunteer#overlay-context=volunteers I did not create the form, nor the site, nor do I have any knowledge of Drupal. But somehow I got assigned to make this form fit ...
0
votes
1answer
10 views

Body classes still showing 'page-node-#' instead of title or menu word

I'm trying to get either the title of a page or the menu entry to be listed as a class in the body tag. I came across a posting here utilizing this code: function ...
0
votes
0answers
6 views

Unable to change the background of the TinyMCE editor

The background of my TinyMCE editor contains the background image that is on my front page. Even though the background is overwritten as white on my normal page template the TinyMCE I can't seem to ...
0
votes
1answer
13 views

Weird menu_block menu misalignment in IE 10, 9 [on hold]

I'm having a problem with the menu on this site in IE: http://www.stmaryscourt.co.uk/ Basically, the menu items after the 3rd are pushed down and misaligned. I've inspected the source and can see ...
0
votes
1answer
20 views

Style sheets for different users

Anyone know how to have one css style for logged in users and another for anonymous users?
0
votes
0answers
24 views

Search block in fixed bar issue

I've added the search block to my fixed navigation bar at the top of the page (the nav bar is fixed when you scroll the page). The problem is that searching for the term leads to no where. When I ...
0
votes
1answer
13 views

Font-Awesome issue: how to remove menu-link text from a menu item with font-awesome icon?

I installed the module Font awesome icons (with it's library) & the module Menu attributes; I've configured them, and now have a working font-icon in my main menu. The problem is that instead of ...
0
votes
0answers
23 views

How to declare @font-your-face local fonts in CSS?

Pretty simple question, why does my CSS not render my fonts when I declare it programmatically (in my CSS) vs when I use the @font-your-face UI? For a number of reasons I'd like to be able to ...
0
votes
2answers
14 views

Custom styles on labels in views?

I would like to create custom styling for the label in a field for a table in a view. Is this possible within the view edit page? Or will I have to define a custom CSS class and write the styling in ...
0
votes
1answer
15 views

Make header small on scroll down and large on scroll top [closed]

I see some websites when i scroll down the size of their header becomes smaller. But when i scroll top its size revert to original. Is this the functionality of "CSS" or with help of "Jquery"? I want ...
0
votes
0answers
17 views

Drupal absolutely refuses to serve gzip css and js files, however they are produced just fine. What could be causing this?

What I have tried so far: All variations of modifications and additions to .htaccess gzip relevant sections near the bottom. The Advanced CSS/JS Aggregation module, and all suggested configurations ...
1
vote
0answers
9 views

Theming the controls of an Openlayer map

The Openlayers module comes with a default set of maps. It's possible to add layer templates, but it seems that the controls are always the same (see image). The controls exist of images that are ...
0
votes
1answer
20 views

modifying bartik [closed]

I'm in progress of designing a new theme based on the Bartik responsive theme. Now I would like to move my navigation all the way in the top left corner but I can't get it there, I don't find the ...
0
votes
0answers
17 views

Why does The special menu items module break the bootstrap dropdown?

Hi Guys this is my issue on my parent menu item i am using the<nolink>shortcode to leave the link blank however in my tree i have 3 items underneath it. If i add <nolink> the menu item ...
0
votes
0answers
14 views

Subtheme Print css not working

I am cracking my head on something that should be very straightforward ;-) I have a project that uses a 'seven' subtheme, since it does not require a lot of styling. I want to print some stuff from ...
0
votes
1answer
27 views

Is it possible to add CSS to the user edit page? [duplicate]

EDIT:I'm using a custom theme and attempting to edit the style on a specific field on the user edit page. Dooug is correct. My question was answered here How to Override CSS for a core module? I ...
0
votes
1answer
43 views

Drupal HTML.tpl.php file won't affect site?

My aim is to allow zooming in and out in mobile devices in my responsive Drupal 7 site. I have followed a Drupalize.me video and some more documentation that teach how to allow it via my theme's ...
0
votes
2answers
20 views

Menu links at the corners of the screen

Used omega theme and stumped at menu part. Top right - Home Top Left - Work Bottom Left - Contact Bottom Right - FAQ Tried to set 2 menus: top and bottom in menu zone and then set id to each links ...
2
votes
1answer
110 views

Site name div selectively in an h1 tag, affects markup and css

So, the position of my site title and logo have been moving around on different pages. I was pulling my hair out until I compared the html outputs of the pages where the logo moves and it appears ...
2
votes
2answers
17 views

Is it possible to have nested divs in content fields on a view?

I'm trying to create a view that displays certain content fields inside a div that are contained by other content fields. For example. I am displaying an image, a title, a body, and a posted date. ...
1
vote
1answer
28 views

Unwanted css in drupal 7

I have removed default css files using a code below, but still it is showing some unwanted css files <?php function _phptemplate_variables($hook, $vars) { $css = drupal_add_css(); ...
1
vote
0answers
29 views

Floating .field-item image to left of content type rather than centering it [closed]

I'm relatively new to Drupal and so-so with CSS and am trying to float the image on a particular content type to the left of the content rather than having it center on the page on a row by itself. ...
0
votes
2answers
39 views

Using the Drupal 7's Block “description” field as a CSS class field

I need to add a css class to my blocks and I know I can install a module, but i rather not as it doesnt work with features. I was thinking of just using the block config's description field to hold my ...
0
votes
2answers
26 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
30 views

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

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
24 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
27 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
26 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
1answer
70 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
22 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
81 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
49 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
136 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
18 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
30 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
24 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
31 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
9 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
58 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
91 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
10 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
30 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
24 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
39 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
128 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
45 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
54 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
39 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
71 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 ...