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.
0
votes
0answers
12 views
how to make adaptive theme have side bar first for 508 compliance
I need the sidebar 1 to be read first for 508 accesability , both by people using tabs instead of a mouse and by screen readers. But the sidebar1 is after the main content in this theme. is there an ...
0
votes
2answers
28 views
How to add HTML tag in Drupal block ?
I would appreciate your help in my problem with html tagging or css class in blocks.
I've tried Field Formatter Class and Field Formatter CSS Class modules, but with those I only could add class to ...
-1
votes
1answer
20 views
#superfish ul also targets contextual links! [closed]
I am using superfish menu in D7 as follows:
I have created a custom theme from scratch
in my page.tpl.php I have created a region for my main menu as:
<div id="superfish"><?php print ...
-1
votes
0answers
20 views
How can I increase spacing between comments on recent comments page? [closed]
How can I increase the spacing between comments on this page?
I have firebugged the classes but cannot find the correct rule in styles.css to change.
2
votes
1answer
29 views
Cannot change CSS after CSS/JS aggregation
I'm using D7, recently I checked all the bandwidth optimization option in admin/config/development/performance, I wanted some change-back in CSS afterwards, which now I can't with the bandwidth ...
0
votes
0answers
11 views
superfish contains spaces Omega
I have added the superfish module to drupal using omega theme and created a navbar with the default css.
Everything works correctly but the navbar has spaces on the left side between each menu item
...
-1
votes
1answer
33 views
Changing colors of drupal tables
I noticed that drupal always use grey as background and line color with tables.
I prefer to avoir modifying the code of my template. Is there any way to modify the ugly grey drupal tables ?
1
vote
2answers
65 views
drush cc all != “Flush all caches”
If I try and clear my drupal site's cache using drush cc all command - the command completes successfully but when I pull up my drupal site in a browser its a mangled mess because there is no CSS.
...
2
votes
2answers
30 views
Custom ckeditor.styles.js file with WYSIWYG module
I am trying to customize the "Font style" dropdown in CKeditor through the WYSIWYG module, but I see no way to specify a path for ckeditor.styles.js in the wysiwyg module's profile editor.
Refer to ...
1
vote
0answers
30 views
Drupal Omega Responsive CSS: Commands in default.css do not overwrite global.css unless entered twice [closed]
In my global.css, I added a margin-bottom to my grid entries via
.grid-3 {
margin-bottom: 20px;
}
I want it to be bigger (40 pixels instead of 20 pixels) on all non mobile devices. I therefore ...
-1
votes
0answers
31 views
Not centering and width into 100% the banner [closed]
Hello everyone i have a question regarding the width: 100% or a better way to make the slideshow fit in page width. since background-size support cover unlike an image uploaded. here is the site ...
1
vote
1answer
145 views
ie10 displaying CSS differently on localhost problem [closed]
I have just converted a complex site from PSD to HTML/CSS. When I view the .html on Firefox, Google Chrome, and Internet Explorer 10, it displays perfectly. Then I rename my index.html to page.tpl.php ...
0
votes
1answer
57 views
Is there a Drupal tool to aggregate and compress CSS files
I know that Drupal 7 has settings for Aggregate and compress CSS files and Aggregate Jacascript files (under Administration/Configuration/Development/Performance).
Is there a tool that let me extract ...
-1
votes
0answers
14 views
How to Apply Css to Catogories and Ubercart Products [closed]
I am newbie with Drupal; I just started creating a website using Drupal, 7 and I have a requirement. Like on Featured Region, I have to create a slider with the Nivo Slider module; in the next region, ...
-2
votes
0answers
12 views
Need help in theming a default view - D7 [closed]
find the code below:
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first">
<div class="views-field views-field-title"><span ...
1
vote
1answer
31 views
Is it a good idea to load the css files from page.tpl file instead of .info file
I am just curious, because i am trying to get my site working for both IE and chrome, and I want it to load only a specific css file. Conditional stylesheets arent working for me, as I cannot see the ...
0
votes
1answer
13 views
using css in wysiwyg for custom page
I want to allow my end users the ability to save custom css (sass would be better) along with the page content that they edit in a WYSIWYG. I know they can put styles inline but sometimes it's useful ...
1
vote
1answer
69 views
Drupal 6 Site Duplication - Looks Like My Theme is Broken
My goal is to duplicate a Drupal 6 site to a new host, but I am having some problems.
New host - 198.20.226.199/~paul8226/ -- No name resolution setup yet.
Old host - www.egcasting.com/
I ...
0
votes
2answers
32 views
Advanced content layout in drupal
I've been evaluating drupal and I'm at a point where I have my header, footer, and sidebar set up properly. I have a basic page node type and I've created a few test pages. My test pages have been ...
0
votes
1answer
28 views
How to add css to a form according to the user's role?
I know how to add css to individual form types using:
function theme_form_alter(&$form, &$form_state, $form_id) {
switch ($form_id) {
case 'formtype_form':
global $theme;
...
0
votes
3answers
51 views
CSS changes not taking effect in customized styles folder
I am trying to size the banner in a Jackson theme on my site to fit to the 960px wrapper size have in customized folder in sites/all/themes/mytheme/styles/mytheme.css but no matter what I do the ...
1
vote
0answers
48 views
IE7 IE8 layout broken if advanced aggregation is enabled
When I install & enable Advanced CSS/JS Aggregation, my site layout breaks in IE7 and IE8.
How could that happen? Is there CSS3 in the compiled/compressed CSS? What should I do?
2
votes
1answer
44 views
Optimized way to use media queries
I'm looking for the best way to use media queries within a drupal theme (based on Zen 5)
The options I've found are :
Defining media queries in the info file eg :
stylesheets[all][] = ...
0
votes
0answers
69 views
Drupal 7 - CSS not loading in IE, js error 'jQuery not defined'
CSS isn't loading in IE only. I have the css and js files compressed. Only in IE i'm getting several js errors, starting with the error 'jQuery not defined'. The website is http://pattersoneng.com
-1
votes
1answer
122 views
Styling nice menus bar so it spans full width with a wrapper [closed]
I've installed the Nice menus module, and played with the CSS styles.
I basically have it how I want it, but I would like the red to the edges of the page. Thi is the CSS styles I've got. I've tried ...
0
votes
0answers
33 views
Inline css on cck field..where was it set?
oenter code hereDrupal 6:
I have a form (inherited site) and one field named "Status" shows the word New in red and Production in green.
Inspecting the field in Firebug, the class is generic:
...
1
vote
1answer
51 views
Drupal site moved from development to live - IE won't load stylesheets anymore
Before you ask ... I have looked everywhere for a solution, even drupal.org but nothing so far seems to work.
I developed a Drupal site (custom child theme for Zen) and on the development server ...
1
vote
2answers
34 views
Remove link to user profile on content
How do I remove the link to a user's profile on article content? The element is part of the article header and its classname is ".username". I am new to Drupal but not to webdesign; I am just ...
2
votes
2answers
77 views
Trying to make a custom region disappear upon user login, then reappear when user logs out
I've looked everywhere for an answer to my problem, but can't find one. My goal is to collapse/force a custom region on my website to disappear when a user logs in, and then have it reappear when the ...
0
votes
1answer
54 views
Change Content region width when Sidebar has content?
hello i have what i feel is (hopefully) an easy problem to solve. Basically i have my regions defined which is fine but i have my sidebar that i want to display on the right of the content region. if ...
-3
votes
2answers
40 views
How to apply opacity to just a portion of the image? [closed]
I've got a slideshow on the homepage which consists of an image and with text in front of it, in the bottom half of the image. I would like to apply opacity to the lower part of the image. Is there a ...
0
votes
1answer
72 views
Drupal 7 Field Collection Theming
I am using Drupal 7 and Field Collections. I have the following fields in the collection.
Day From - List(text)/Select List - event_day_from
Hour From - List(text)/Select List - event_hour_from
...
1
vote
1answer
65 views
add css class to html element based on taxonomy?
I would like to add class to the HTML element based on taxonomy. Is it possible to do it from inside template.tpl.php or do I need to create needed templates manually? If so, how will my theme know ...
0
votes
1answer
48 views
How do I edit the CSS based on node, page, or placement on page?
I've been learning how to navigate around and edit my global.css file, but am confused as to how to edit specific elements. I've come across answers to this question that don't specifically describe ...
0
votes
0answers
33 views
Set image position on the canvas
I am looking for a solution to place a thumbnail on a canvas and alter it's coordinates from a editor's interface, without editing external css files and without without creating separate styles for ...
0
votes
0answers
28 views
Add farleft sidebar(css) to zen theme without messing established layout [closed]
I am NOT a CSS expert. I basically know how to manipulate css and write basic css to suite my needs. Right now, I have a test-site, in which I've used the Zen theme with responsive-sidebars.css. The ...
0
votes
0answers
29 views
D7 Garland color style.css changes
I want to make changes to the Garland theme. But it seems the style.css file is generated. I tried to change style.css and put my css about "do not touch" clause ( under CSS Support ). It's not ...
0
votes
1answer
26 views
Formatting elements without formatting similar elements throughout entire site
So I've been fiddling around with elements, or blocks around my site.
I find the element or item I want to change my right clicking it in my browser and clicking "Inspect Element". Then, I find ...
0
votes
0answers
33 views
How to use this code in my Drupal site? [duplicate]
I recently created a code where I used jquery, css, html, php and javascript. The code is as follows:
<title>jQuery Hover Effect
<script type='text/javascript' ...
0
votes
0answers
271 views
Anyone using Unsemantic CSS grid system?
Has anyone tried using the Unsemantic CSS grid system in Drupal 7? It's a fluid grid done by the same people who did 960.gs. I'm using preprocess functions (mostly for blocks) to apply the grid ...
0
votes
1answer
68 views
Omega theme background color problems
What would be the best option for achieving following:
I need to have a background color blue under website and the body of the website (including all regions) would be white. Best for demonstrating ...
0
votes
1answer
24 views
How do I put this custom CSS and JavaScript into a certain block?
I'm having a hard time getting this:
http://dev.chrisruno.com/sahshe/quiz/
To go into a block in this node:
http://sahshe.chrisruno.com/?q=node/22#
I've successfully included the two Javascript files ...
0
votes
2answers
31 views
Add a “class selection” field to content item via CCK?
I have a single content type (webform) that I want to display in two or three different styles on my site. For instance, I may want to have some of the webform's CCK fields floated to the right on one ...
2
votes
1answer
38 views
How to override default class of custom text field in views?
How can I change the nothing in the "views-field-nothing" class of a custom text field in views?
I just can't find the appropriate setting...
0
votes
0answers
9 views
No background shown for customer role creating customer content type (Mayo theme, CKEditor)
I have created a new role on a website, but when that role creates new content, they get the default background of the website (brownish) in the content area and not the white background the content ...
0
votes
2answers
103 views
How to override system.menus.css
system.menus.css has it's own styles for the menu block. How can I override this style?
Would creating a folder called CSS in my theme and adding a file system.menus.css override it?
0
votes
1answer
82 views
Add additional CSS class for particullar field in a node
I'm trying to add additional CSS class to a field after the field is added. But not for all fields of that particullar content type, but only for those, that editor would like to. Like a module ...
0
votes
0answers
43 views
Unlimited horizontal width in ZEN theme
I am struggling in achieving quite simple effect: how to force images float horizontally ignoring the width of the ZEN carcass?
What I'm trying to do:
In a content type I have image field set to ...
0
votes
1answer
57 views
Use custom HTML file for page created by Views?
I use Views to create new content and a new page for the content, but how am I supposed to customize the HTML layout of the page? I can style elements of the page via CSS, but what if I wanted to have ...
-1
votes
1answer
36 views
Using custom CSS3/HTML on generated pages? [closed]
I created new pages on my (soon to be) photography website using Panels and Views. I want to have my own hover effects for pictures on my albums page. How am I supposed to use custom HTML and CSS3 ...