By Robardi56 on
Hi,
I use garland theme, and whenever I add a table in a block, a views header etc etc..... the table is systematically displayed with a grey top border.
I can't identify where in the style it is controlled, and can't find a way to get rid of it with forcing the style.
Any help appreciated.
Thanks,
Brakkar
Comments
I think this will help
You will find the grey bar comes from two locations, the table header (thead) and table body (tbody), adding the following css should do the trick
Same issue with ZEN as you
Same issue with ZEN as you can see it
http://www.festivalshakespeare.com/materialgrafic
any ideas?
these CSS doesn't work for me :(
Pol Maresma
PolNetwork.com
Pol Maresma
PolNetwork.com
I know this thread is very
I know this thread is very old, but I had the same issue, also using ZEN, and finally figured it out. Seeings how this reply was never answered I decided to chime in (almost 10 yrs late!).
This is for Drupal 7 and Zen 5.
The file, themes/zen/STARTERKIT/css/components/misc.css, has the following:
I had tried everything and could never figure this out. Finally got it!
Either edit that file (not recommended) or add this to your own theme's CSS:
tr.even, tr.odd { border-bottom: 0; }Done!
Regards,
BigMike
Removing the grey border
I'm a complete drupal noob and I had the same problem with that annoying grey border, but it's quite simple to fix.
The border comes from the system.css style sheet, located in /modules/system/system.css, where the following styles are set:
To override these borders, background colors etc just copy the above styles into your themes style sheet (style.css) and make the appropriate changes to each style i.e. border-bottom: 0; !!!!
Hope this helps someone.
Removed!
Hi,
This snippet helped me a lot!
Thanks a lot!
greetings,
Martijn
Thanks a lot nevets , i worked for me too
Also i wandered for almost two hours to find the solution atlast your solution to embed the following codes in style.css helped me
thead th {
border: 0;
}
tbody {
border: 0;
}
and now that grey line is not displaying ,
Thanks,
Anish
This code helped me too
This code helped me too :
thead th {
border: 0;
}
tbody {
border: 0;
}