cant hide navbar's "logout"
4 posters
Page 1 of 1
cant hide navbar's "logout"
Last edited by gunsmaker on January 27th 2015, 4:24 am; edited 1 time in total
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
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» Hide Admin Online Status & Hide Rank Title
» The logout link
» automatic logout
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» Hide Admin Online Status & Hide Rank Title
» The logout link
» automatic logout
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum