Jump to content

Make Login smaller on mobile navigation

Go to solution Solved by tuanphan,

Recommended Posts

  • Lisa0703 changed the title to Make Login smaller on mobile navigation
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

.header--menu-open .header .user-accounts-text-link {
    color: #ffffff;
}

.user-accounts-link {
    background-color: #190c8d;
    color: #ffffff !important;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    outline: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 55px;
    width: 160px;
}

 

Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me email me here :- mandeepsquarespace@gmail.com

Website:-  dhanjalsolution.com

Best Hourly Rate :- $15 Per Hour

Link to comment

Thank you @Mdhanjal_Squarespace ! 

I previously added the below code to create the Login button in the navigation and push it to the far right. When adding your code, it is impacting the existing Login button.  Is there an alternate way so I can keep this code in tact, but only make the Login smaller in mobile navigation?

.user-accounts-link {
    background-color: #5775ff;
  color: #ffffff;
    padding: 0.5rem 2rem;
  border:1px solid #ffffff;
    border-radius: 20px;
}
.header-layout-nav-right .header-actions {
    flex-direction: row-reverse;
}

Link to comment
  • Solution

Add to Design > Custom CSS

.user-accounts-link.header-menu-nav-item.header-nav-item--collection.customerAccountLoginMobile {
    max-width: 200px;
    margin: 0 auto;
    padding: 10px;
}

image.png.cf6b89c573c80820ab7c08a209c0c310.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.