Jump to content

How to get header button off burger menu on desktop and mobile

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 6
  • Views 296
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

You can use this code to Website > Website Tools > Custom CSS

/* Show button next to burger on mobile */
@media screen and (max-width:991px) {
  .header-actions.header-actions--right, .header-actions-action.header-actions-action--cta {
    display: flex !important;
}
a.btn {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
    position: relative;
    left: -15vw;
}
    .header-menu a.btn {
        display: none;
    }
}

image.png.97e8e6ba66d960c6776f0c6da4df567f.png

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!)

Link to comment
34 minutes ago, kimmydesign said:

@tuanphan how do I hide it from the desktop mobile pop out as well so it's just in the top right corner?

You mean when desktop burger menu is open >> Hide Book button?

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!)

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.