Jump to content

add cta in mobile header and make logo centered

Recommended Posts

Site URL: https://www.oryxdentalsoftware.com/

Hello,

I have this code to add a CTA to the mobile header

this makes the cta it in the middle, but how I can make the elements in this order:

Burger-menu icon > logo (centered) > CTA ? And make the cta smaller?

/* Show button on mobile menu*/
@media screen and (max-width:1024px) {
 
/* show button */
.header-actions {
    display: block !important;
}
.header .header-actions-action--cta {
    display: block;
    width: 10% !important;
}
 
/* logo width */
.header-title-nav-wrapper {
    flex: 50% !important;
}
}
 

Thank you

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.