Jump to content

Show login button on specific pages only

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hello all,

  1. I would like to make the Login button in the top right hidden on all pages except this page and its subpages (the course page and the lesson pages):
    https://www.yuryourultimaterelationship.com/the-course-in-life-mastery
  2. Also I'm noticing that the Login button is a few pixels higher than the rest of the navigation buttons. How do I align them?
  3. When the user logs in, "Login" changes to "Account". Is it possible to make it say "My Account" when someone is logged in?

Thanks!

  • Replies 2
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

#1. You can use this code to Website > Website Tools > Custom CSS

body.collection-6643f13abd7d63778df7f0e1 .user-accounts-link {
    display: none !important;
}

#2. You can use this CSS code

div.user-accounts-link {
    position: relative;
    top: 2px;
}

#3. Use this CSS code

span.auth {
    visibility: hidden;
}
span.auth:before {
    visibility: visible;
    content: "My Account";
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.