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.
1
vote
0answers
22 views
really strange ie10/wampserver2.2 behaviour regarding css. Or am I missing sth simple?
Here is the issue:
I have just converted a complex site from PSD to html/css. When I view the .html on firefox, chrome, ie10 it displays perfectly. Then I rename my index.html to page.tpl.php and make ...
0
votes
1answer
45 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
11 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
11 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
30 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
12 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
33 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
28 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
25 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
39 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
44 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
37 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
41 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
74 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
26 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
0answers
39 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
28 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
67 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
41 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
37 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
59 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
53 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
35 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
24 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
24 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
24 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
25 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
230 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
59 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
27 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
34 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
8 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
67 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
76 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
38 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
53 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
35 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 ...
1
vote
2answers
157 views
Disable jquery.ui.theme.css only for front end?
I'm using jquery tabs on my page but they loaded some default styles that I didn't want. Thus I removed them with the following code:
drupal_add_library('system', 'ui.tabs');
function ...
-1
votes
1answer
88 views
CSS, adaptive theme [closed]
In migrating a site from a in-house CMS to Drupal 7, I'm trying to match font sizes between the older site and the newer one. In D7 we're using a Adaptive theme.
Using Firefox's inspector, the font ...
0
votes
0answers
39 views
Why the CSS can not be added [closed]
I set my druapl7 website in my computer in the local network,I want to visit the website in another computer in the network. but the CSS cannot be added.There are just white pages and words.
how to ...
0
votes
0answers
29 views
omega ie 8 and lower problem [closed]
I have a zone and a region in it and a block in it. there are three blocks in a region, one if float:right and one is float:left, that looks well in any browser except IE 8 and lower.
the main ...
0
votes
2answers
47 views
Add class to new posts with Views
I have a view (using Views module), which displays a list of all Titles of a custom content type. What I want to do is add a CSS class to the posts that are new (posted within 24 hours for example). I ...
-1
votes
3answers
101 views
Is there a Drupal 7 module or theme where you can stretch a big JPG as the body background? [closed]
I'm looking to make a big jpeg as my background where it stretches and also stays static even if the browser is resized or viewed with a bigger monitor. Was wondering if there was a module that gave ...
2
votes
2answers
32 views
Is there a reason I need to unset CSS files provided by contrib modules if I have CSS aggregation enabled?
As this question makes clear, stylesheets provided by modules can be unset. Some themes, such as Adaptivetheme 3.x, also provide a GUI for unsetting the stylesheets provided by modules. My question ...
0
votes
1answer
61 views
How do I add a css class to body from a page callback function?
I have a module that produces a lot of pages. A set of these are handled by a particular part of my application, and I would like all these to have a class added to either html or body. I'd settle for ...
0
votes
0answers
65 views
Superfish Menu in 2 Columns
I am using superfish menu in my website as a main horizontal navigation. on mouse over some links the drop down menu opens and it but due to lots of links its getting very long verticaly. Is there a ...
0
votes
1answer
24 views
Add class to links in delete page
I want to add a class to the link in my delete content page, currently the 'delete' button itself is styled because it falls under the styling for input[type=submit] in my CSS, but the 'cancel' button ...
0
votes
1answer
39 views
Custom theme css separate from editor css
I have a custom css file in my custom theme folder which has a few changes I made throughout site but does not affect the tinymce editor but probably overrides it making so no changes in text.
I have ...





