Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using this theme on a page with both primary and secondary tabs, the tabs overlap each other making it very hard/impossible to use them properly:
I like the fact that the tabs are displayed to the right of the title section, but the problem occurs because they're placed there using position: absolute;
.
I recommend instead creating a div around both the title and the tabs elements and use floats to align them. This will have the added benefit of allowing the div (with the rounded-corner background) to expand vertically if there are secondary tabs present.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix_tabs_display-1295422-2.patch | 3.06 KB | BWPanda |
#1 | md_minimal-tabs-fixed.png | 9.77 KB | BWPanda |
#1 | fix_tabs_display-1295422-1.patch | 3.01 KB | BWPanda |
md_minimal-tabs.png | 9.44 KB | BWPanda |
Comments
Comment #1
BWPanda CreditAttribution: BWPanda commentedThe attached patch fixes this issue using the solution described above.
Comment #2
BWPanda CreditAttribution: BWPanda commentedFor some reason the #title-tabs div was still being displayed even when there was no title or tabs. This updated patch fixes the issue.