Can I hide the search and browse link when I'm logged out?
spider-t
Registered Users Posts: 443 Major grins
I'd like to have the search and browse link visible on only when I'm logged in. Is that something I can do?
thanks!
Trish
thanks!
Trish
0
Comments
I'd like to think that someone will (or has) come up with the URL to hide navbar entries when you are not logged in.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
You can do that with CSS like this:
Just change the "/About-me" to the address of the page you want to hide (e.g. "/search" or "/browse"). Although it's pretty hard to hide "browse" since it appears on your default breadcrumb navigation bars.
Please check out my gallery of customisations for the New SmugMug, more to come!
I'm not sure what you mean by browse appearing on default breadcrumb nav bars. Doesn't that depend on the OP placing browse in the navbar? On my site I don't have /browse in the navbar. Yes, someone can enter that in the URL, but as soon as a folder or gallery is clicked there is no browse entry in the breadcrumb.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Please check out my gallery of customisations for the New SmugMug, more to come!
I then realized the changes didn't have an effect on the mobile site, so I added the following CSS and it it also suppressed it there too. You will need change "browse" to the menu item you are trying to hide.
My SmugMug
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Caroline
www.carolineshipsey.co.uk - Follow me on G+
[/URL]
Yes, exactly! As I said it hides the "link", not the page. This useful not for preventing access to content (there are other tools for that) but for guiding a visitors experience.
My SmugMug