Tagged Questions

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

Why I can not find some css with grep?

I'm newbie and I don't know how Drupal 7 work! I want to remove with and height from below code: <img typeof="foaf:Image" ...
1
vote
1answer
14 views

Drupal-8 Css styles not working while included in .info.yml file

For some reason my theme cant find css/style.css in drupal 8. This is the .info.yml: name: Adminimal type: theme description: Drupal Administration Simplified. # version: VERSION # core: 8.x base ...
1
vote
1answer
30 views

4095 Selectors Limit on IE. How to split the Drupal 7 CSS compressed files?

Here is my problem. Using Sass (from Zen theme) and on top of that Brunch, our compressed css file has over 4095 Selectors and is then compressed by Drupal (and still has over 4095 selectors in one ...
0
votes
0answers
11 views

Non-functional themes

I encounter a strange problem lately. I installed the latest Zen theme on a drupal 7.32 and apparently, css files don't load. I saw on the download page that there might be some problems with the ...
-2
votes
1answer
20 views

How to add content into topic item [duplicate]

I want to add content into a topic item on a website. I am using drupal and have admin access. I want to edit code that will return the below objective. How do I access the files that would have the ...
-1
votes
0answers
17 views

Add paragragh information under a hovered menu item [on hold]

I want to be able edit code of pages in drupal. I am led to believe that it cant be done via drupal dashboard? correct? How do you access the files of html, php of a drupal built site. Thanks for ...
0
votes
0answers
18 views

Add paragragh information under hovered menu items [on hold]

Hi all, I want to add descriptions under my menu items like above (Eg. Home (ADD my description) Products (etc)? Do I have to create children under these menu items and enable these???? Any advice ...
0
votes
0answers
10 views

how to fix Errno::EIO Input/output error issue [on hold]

I have a question I use css to building my site when I was storaged css code my site was broken and appeared this error log Errno::EIO Input/output error what should I do to fixed this issue ...
5
votes
1answer
134 views

How does CSS and JS aggregration work in Drupal?

When Drupal is set to optimize JS and CSS, it creates the 'js' and 'css' folders in your public file system root. Aggregated JS and CSS get stored in these directories. I've tried to figure out how ...
-1
votes
0answers
11 views

Drupal Blocks/Widgets Width / Height Parameters [closed]

The site I am maintaining has bugs in the header and widget blocks. How do I change this? Search bar is out of alignment with nav menu. News and Events widgets overextends if too much text is ...
0
votes
0answers
19 views

is there a way to add css id/class to panel region

When default panel layout is used we can see different regions like top , middle,left side , right side, bottom etc. I need to add CSS Id/ class to this region. I know there is a option to set ...
0
votes
1answer
12 views

Drupal 7 menu block make parent menu item active when maximum levels not cover the linked node

In Drupal 7 menu block, can specify maximum levels. If the maximum levels is not enough to cover all menu items linked node, when in the not-covered menu items linked node, could menu be active at ...
3
votes
1answer
47 views

Why the main theme isn't applied in the preview?

When I’m in administration mode, using the 'seven' theme, and I click on Preview, instead of using the main theme, the preview uses seven's stylesheets, which is silly-willy because it’s not what I ...
0
votes
0answers
9 views

'Unread/Read' Superfish Menu Item

I am trying to create a Superfish menu item that uses an 'Unread/Read' code on the item itself. I have a news page that I would like the menu item to flash or have a different appearance if the ...
0
votes
0answers
11 views

Toggle theme region visibility in zen

I'm building a site with a fixed navigation bar at the top. I want to have a icon in the right side of the nav bar that toggles the visibility of the second sidebar (containing the user menu and a ...
0
votes
1answer
26 views

Add cutom body class when view is not return any results

I know how to add additional class by preprocess function but I need to combine it with the view. So the new custom class should be added if my view returns 0 results. It looks like I can't use ...
-3
votes
1answer
42 views

how can I resize user's picture with css [closed]

Can someone please help with the above question, I want to display [current:user-picture] using token, which has a initial size of 100x100 and resize it to 20x20 with css. But its not working. I'D ...
0
votes
1answer
18 views

FontAwesome character added via CSS only appears when logged in

I'm pretty new to Drupal and CSS; I'm stumped with this issue. I have a FontAwesome camera character that I've written to appear before my caption div in Flexslider. Here's what I have: ...
0
votes
1answer
27 views

Sub Menu's are not coming under main menu

I am using this code to fetch menu's in drupal. I have given Home as parent menu and other are sub menu's like submenu1, submenu2 etc. But in front end they are not coming under Home menu. Only Home ...
2
votes
1answer
38 views

How to attach browser-specific stylesheets in D8?

In D7 it's possible to attach a css file based on browser sniffing, like this: drupal_add_css( $path_to_css, array( 'browsers' => array( 'IE' => 'lte IE 9', '!IE' => ...
0
votes
1answer
18 views

Unknown top and bottom padding in panels

I'm using the panels module in drupal 7. I'm having some problem with the css in panels. I've removed the top and bottom padding in my custom css but there still appears to be some padding. How can I ...
0
votes
0answers
16 views

How to add css classes to quicktabs [duplicate]

I can only turn of the styling on a new quick-tab instance, but is there a way to add class names to it? Or any other way for create individual styles?
0
votes
0answers
21 views

Override login form style

How do I style the login form in the zen sub-theme neptune. I'm kind of confused if I'm supposed to override the css styles. I'm not able to figure out how to change the login form wrapper div and the ...
1
vote
3answers
38 views

Apply different css files according to user selection

Use case: content managers would have permissions to change the color scheme of the site. Solution: I would make a page from hook_menu and give option to select from different pre defined css files. ...
0
votes
1answer
24 views

How to use a separate file for IE responsive.css for version 10/11 in Drupal

I am setting responsive design for only IE (Internet Explorer) in Drupal 7. here is my code its for work lower then IE 10 not for IE 10/11 function bootstrap_preprocess_html(&$variables){ ...
0
votes
2answers
41 views

Content type or web form(creating own form using hooks) Which one is best way of collecting input from user? [closed]

I am new to Drupal and learning is in progress. I know about content types and creating webforms using hooks. Now I want to collect data from user and store it to db and view it later (easily I can do ...
0
votes
1answer
18 views

How can I adjust the css within fusion theme based on the size of the screen?

I'm using the Fusion theme for its responsive components but there are some things I want to tweak on the different layouts based on the screen size of the device viewing. How can I apply style ...
0
votes
2answers
23 views

Beginner - How to make CSS changes?

I have very little Drupal experience and recently inherited a Drupal 6 site. I want to make some CSS changes, but from what I can tell all the CSS is in /home/saybrook/drupal/sites/default/files/css, ...
0
votes
0answers
13 views

Colors Module on Taxonomy not showing any css change

I am using colors module. Using taxonomy in a content type, configured colors at "admin/config/user-interface/colors/taxonomy". Creating nodes, using terms in that taxonomy on node. I am not seeing ...
0
votes
3answers
45 views

How to use a separate file for IE responsive.css in Drupal

I am setting responsive design for only IE (Internet Explorer) in Drupal 7. Is there any method or solution this file is working with only IE not for Firefox and Chrome?
0
votes
0answers
16 views

Large unknown margin-left for Views blocks

I have a lot of fighting against some unknown large margin-left , around 30px in all themes I start to work with (Zen, Adaptive Theme) - I think it's for Blocks generated by Views... I haven't found ...
0
votes
1answer
61 views

Commerce Product Collection View Block: What Determines CSS For Each Header Link?

In Kickstart 2 there is a view called collection_products which displays a list of products in a given collection, grouped by category. There is a header which uses a Block display to give anchor ...
0
votes
1answer
90 views

Need to keep “active” css on menu item when clicking on other link on same page

I have an issue with my main menu. When you click on the "Cases by Topic" menu item, you are taken to the "Cases by Topic" page. The "Cases by Topic" menu item is then given the css class "active". I ...
2
votes
2answers
81 views

Drupal 7 website layout/styling breaks all a sudden (random), how to debug? there are no logs

One of my websites running Drupal 7 goes out of format, most often when user login. This is how it should be After running out of format this how it looks This may be a CSS issue, it may be a ...
0
votes
1answer
26 views

fonts not applied to high ASCII characters

After installing the @fontyourface module and adding some Korean fonts locally, the fonts are not being applied to high ASCII characters (which makes no sense as the font is specifically for those ...
1
vote
3answers
107 views

Overriding css file in theme.info not working as expected

I am trying to remove nice menus css, as per the notes in my Zen theme .info file. I have added the below to the info file, and I haven't provided replacements in my theme so they should be removed. ...
0
votes
1answer
41 views

show text on logo hover in over

I've been testing the various overlay modules trying to find a simple way to implement a very minimalist designed text I want to display when hovering over my logo img at http://stefanbjorklund.info/. ...
0
votes
0answers
20 views

Loading resources(CSS, JS, layout images) for multi-site from same path

I am working on a website with more that 500 subdomains. All the subdomain have same code and different databases. The problem I am facing right now is that whenever I add any CSS change, I have to ...
0
votes
1answer
24 views

Add Body Class Based On Visibilty Of A Block?

Is there a way to add a css class to the body tag based on whether or not a particular block is visible on a page (node)? We have certain blocks that are visible on specific pages. It would be nice ...
0
votes
1answer
19 views

Embedding Javascript in Content or Block Causes Misalignment of Regions / Overflow

When embedding Javascript, the content area seems to "overflow" past its container. I am pasting an example of how embedding Tweets can cause this problem. The content shouldn't be extending into the ...
0
votes
2answers
37 views

How to integrate JS / CSS only on specified Pages / custom content types

I would like embed my module JS / CSS files only in specified cases. Like on a /url/ or if a custom content type is rendered?
1
vote
1answer
39 views

How to make all images in Views display at same dimensions

My preview (thumbnail) images won't seem to display on my Views 3*16 grid page and my edits in the image Filed don't seem to make a different. How do I ensure and force the Field image (cell) in the ...
0
votes
1answer
44 views

Click button to change CSS in D7

I'm trying to create a clickable link that changes the css using jquery. I've tried many approaches and nothing seems to work. Hopefully someone here can push me into the right direction. Button html ...
0
votes
1answer
31 views

Need help defining IE specific stylesheet with Zen Starter-kit and Conditional Stylesheet Module

I need help defining a conditional IE stylesheet in my .info file. I am using the Zen starterkit as my base theme, and I have the conditional stylesheet module installed and enabled. I have added an ...
0
votes
3answers
14 views

How to change the style of the pages title in a view?

I've created a content type view using teasers. The titles are all H1s. How to change that to H3, for example? Is this just a case of CCS?
0
votes
1answer
17 views

How can classes be removed from panel panes?

Is there a way to remove the default 'panel-pane' classes, without creating hundreds of templates for different entities, and while still keeping the option of adding custom classes to panes?
0
votes
1answer
66 views

right sidebar doesn't shrink in zen responsive theme

I have a Zen 7.x.5.x Responsive subtheme with Right sidebar... I know, I am new with all this responsiveness staff; but - I think the right sidebar doesn't shrink when I resize my browser....it just ...
0
votes
0answers
30 views

How to style the frontpage different to rest of the pages? [duplicate]

I have two stylesheets in my Zen sub-theme css folder: front.css and styles.css. I need to do the following: 1)Use front.css for the frontpage. 2)Use styles.css for all other pages. I do have the ...
0
votes
1answer
49 views

Style views row layout debending on result count

How to style views row layout debending on result count? If views has 4 results then items should be placed on two rows and two columns: | | | | And when views has more than 4 items - for example 6 ...
0
votes
1answer
140 views

How to change the fb like button text color in drupal 7? [closed]

Code <div class="fb_like_color"><div id="fb-root">&nbsp;</div><script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) ...