• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Extend the selected tab to the top

Matthew Hawley

Well-known member
#1


So i have this here. I want to extend the background to the top. No matter what i do i cant fix it. Ive tried margins, padding and height. Sorry about the lack of info, im on my mobile. I cant connect to xenforo on my laptop.
 

Shelley

Well-known member
#5
Not getting into this thread too much but try the following. you may need to add some !importants to it.

Code:
.navTabs .navTab.selected .navLink {
bottom: 12px;
height: 50px;
line-height: 48px;}
The output of that is as follows (below)

Screenshot_3.png

If you want it more flush at the top then add this css instead.

Code:
.navTabs .navTab.selected .navLink {
bottom: 14px;
height: 52px;
line-height: 50px;

}
The output of that css is as follows:
Screenshot_4.png