How to ignore original block style
Richard_ - June 16, 2008 - 10:26
| Project: | Quick Tabs |
| Version: | 5.x-1.2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
My blocks are themed with border.
When I use quick tabs module it embed block inside quick tab block, which in my case looks very cluttered because I use borders within block theming.
In other words I see bock inside block with all theming. I wish to have only block "data", not theming.
What should I do? I have red here that overriding of style might cause jquerry problems.
Thank you for this module and any answer :)

#1
This might help....
I am using Drupal 6x, but this also worked in my Drupal 5x also.
block in a block with no style
I took the blocks to have no style or different style and edited them individually in the CSS.
example:
#block-user,
#block-blogs,
#block-comments
{ border: none}
and/or.... etc
#block-user .content,
#block-blogs .content,
#block-comments .content
{ border: none}
Can also change color, size, margin, padding individually also, and I've not broken jquery yet.
Hope this helps,
Grizz
#2
Hi there,
just to clarify, you would only break the jquery if the mark-up actually changed, which you could do if I supplied a theme function, which I haven't... yet ;-)
So, for theming your blocks, you can just create specific css style rules for blocks within quicktabs blocks, e.g.
.quicktabs .block {
border: none;
}
Katherine
#3
Thank you guys, I have made the same thing as Katherine suggest for footer blocks and it works with tabsblock too,
thank you for your suggestions !!!
#4