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.

Comments

wim leers’s picture

Assigned: Unassigned » 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.

pictogram’s picture

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 ??

wim leers’s picture

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

millions’s picture

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!

millions’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

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

cpelham’s picture

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.

wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)