cant hide navbar's "logout"
4 posters
Page 1 of 1
Re: cant hide navbar's "logout"
Hello @gunsmaker,
Try this :
I think the problem with your last code is that you're missing the whole portion of the URL. e.g. the tid and key
If you add the caret before the equal sign, it'll work.
a[href="/login?logout"] => a[href^="/login?logout"]
The caret is for selecting elements whose attribute begins with that specific value.
Try this :
- Code:
#logout { display:none }
I think the problem with your last code is that you're missing the whole portion of the URL. e.g. the tid and key
If you add the caret before the equal sign, it'll work.
a[href="/login?logout"] => a[href^="/login?logout"]
The caret is for selecting elements whose attribute begins with that specific value.
Re: cant hide navbar's "logout"
have to remove the / and a a * before = witch means it checks to see if it contains that if you just use = it means url has to be a 100% mach also another useful one is ^= witch means starts with
- Code:
a[href*="login?logout"] {
display: none !important;
}
Re: cant hide navbar's "logout"
Ange Tuteur wrote:Hello @gunsmaker,
Try this :
- Code:
#logout { display:none }
I think the problem with your last code is that you're missing the whole portion of the URL. e.g. the tid and key
If you add the caret before the equal sign, it'll work.
a[href="/login?logout"] => a[href^="/login?logout"]
The caret is for selecting elements whose attribute begins with that specific value.
_Twisted_Mods_ wrote:have to remove the / and a a * before = witch means it checks to see if it contains that if you just use = it means url has to be a 100% mach also another useful one is ^= witch means starts with
- Code:
a[href*="login?logout"] {
display: none !important;
}
only this code is working
- Code:
#logout { display:none }
by the way, thankyou @Ange Tuteur and @_Twisted_Mods_ for helping, i'll remember this * and ^ symbol, its new for me.
Solved
Similar topics
» How to hide some text navbars
» Custom Logout URL
» Hide Admin Online Status & Hide Rank Title
» logout and i see myself online!
» logout option
» Custom Logout URL
» Hide Admin Online Status & Hide Rank Title
» logout and i see myself online!
» logout option
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum