Where's the css

pictogram - January 21, 2008 - 20:43
Project:Tabs panel style
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Wim Leers
Status:closed
Description

I've created a tabbed mini-panel which I activated as a block. It's working but the tabs breaks my display.
Where should I find the css file for customization ??? I use a custom theme.

#1

Wim Leers - January 21, 2008 - 20:48
Assigned to:Anonymous» Wim Leers
Status:active» fixed

You should override the default CSS. panels_tabs doesn't have any CSS, it's the tabs module (from the jstools module) that has it.

#2

pictogram - January 21, 2008 - 21:34

Thanks for the kwick reply,

How should I overide the CSS file ?? Add a tabs.css in my theme dir ? Do I have to specify somewhere the overide ??

#3

Wim Leers - January 21, 2008 - 21:58

Just include it in your style.css or create another .css file. You should use CSS selectors to override the CSS. I.e., use the unique IDs that panel has added to target your specific panels.

#4

Anonymous (not verified) - February 4, 2008 - 22:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

Xoso - March 29, 2008 - 15:28

can you elaborate more? are you advising against altering the tabs.css in the jstools module in order to keep the original file intact? I'm new to drupal and I'm not sure what directory you're suggesting to create the CSS. A tutorial to edit would be a huge help to the community it seems, not sure if you'd be interested!

#6

Xoso - March 29, 2008 - 15:30
Status:closed» active (needs more info)

sorry, forgot to change to active. Thanks Wim for the great module!

#7

cpelham - April 14, 2008 - 00:22

Yes, rather than edit the tabs.css file in the jstools module, simply open the file, copy that original code, and then close the file, open your own style.css in your theme and paste that copied code into your css file. Then modify THIS version to your heart's content. This way, if you inadvertently do something weird, you can just delete your copy and the original will still be there working.

#8

Wim Leers - July 5, 2008 - 17:51
Status:active (needs more info)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.