[Fixed] Help with Login/Logout in Menu item

southeasternphotographysoutheasternphotography Registered Users Posts: 647 Major grins
edited September 17, 2013 in SmugMug Customization
Hi. I have added code to a menu item to have a Login/Logout button. The way it works, it is only suppose to give you the correct item depending whether you are logged in or not. I'm in PREVIEW, so, I cannot see what it looks like logged out (like a regular user or client). When logged in, the "Logout" is dropping below the normal Menu line. I have the following code in my footer area and it seems right (says "Logout" 'cause I am logged in).

<span id="yui_3_8_0_1_1377659365592_5546"> </span><a class="leflogin" href="https://secure.smugmug.com/login?goTo=http://www.southeasternphotography.com/&quot; style="text-align: right; font-size: 14px; line-height: 1.231;"><span>Login</span></a><a href="http://secure.smugmug.com/logout?goTo=http://www.southeasternphotography.com&quot; target="_self" id="yui_3_8_0_1_1377659365592_5542"><span id="yui_3_8_0_1_1377659365592_5541">Logout</span></a>

I created a new Menu item and placed that code in the NAME field. Nothing was put in the URL field. It actually works - I can log out hitting that item. I am using the custom code to produce a full screen slideshow on the home page (SmugMug Theme). I had the Login/Logout in the footer. Since there is nothing in the Content field on this page, it causes the footer to rise to about half page. So, I need to delete the code from the footer. That's why I am putting it in the Menu.

OH, I tried using "align left" and it made no difference. Just noticed the line-height command. Maybe this is the issue? How would I figure out the line-height of the Menu items fields if this IS the issue? Also, I do not know if I was logged out, would "Login" appear in-line with the other items or would it be below the line, too. Thanks in advance for help with this considering all the much higher priority issues!

Comments

Sign In or Register to comment.