Toggle navigation
Sign In
Toggle navigation
Categories
Discussions
Activity
Best Of...
Discussion
Different navbar item based on if logged in?
Author
Date within
1 day
3 days
1 week
2 weeks
1 month
2 months
6 months
1 year
of
Examples: Monday, today, last week, Mar 26, 3/26/04
Search
Home
›
SmugMug Customization
Different navbar item based on if logged in?
shengte
Registered Users
Posts:
5
Beginner grinner
June 4, 2014
edited June 4, 2014
in
SmugMug Customization
Hi, is there a way for me to have hidden navbar items that only shows up when someone is logged in?
0
Comments
thenickdude
Registered Users
Posts:
1,302
Major grins
June 4, 2014
edited June 4, 2014
Yup, for example you can add this CSS to hide any top-level navigation links that end in "/Customisations" to people who aren't the site owner:
body:not(.sm-user-owner) .sm-page-widget-nav-toplink a[href$="/Customisations"] { display:none; }
Although make sure the links don't point somewhere super secret (like an Unlisted gallery), since somebody who examines the sourcecode of the page can still see them and follow them.
https://www.sherlockphotography.org/
Please check out my gallery of customisations for the New SmugMug, more to come!
0
Sign In
or
Register
to comment.
Comments
Although make sure the links don't point somewhere super secret (like an Unlisted gallery), since somebody who examines the sourcecode of the page can still see them and follow them.
Please check out my gallery of customisations for the New SmugMug, more to come!