Jump to content

Centralise logo on mobile (with split navigation on desktop)

Go to solution Solved by Web_Solutions,

Recommended Posts

Hi there,

 

I used the following code to position my client's logo in the center of all navigation on desktop (split navigation). Works well, however on mobile the logo is positioned on the left. I've tried a few things but can't seem to move it to the center. Is anyone able to help?

Quote

 

// SPLIT NAVIGATION //

.header-nav {
    position: absolute;
    top: 55px;
    bottom: 0;
    margin-top: 0!important;
    margin-left: 0px!important;
}

.header-nav-item:nth-of-type(4) {
    margin-right: 300px!important;
}

.header-title-logo a {
    z-index: 1000;
    position: relative;
}

.header-display-desktop .header-title {
    flex: 0 0 40% !important;
    z-index: 999999999;
}

 

 

site password: guardswell2023

Many thanks!

Screenshot 2023-10-28 at 12.50.28.png

Screenshot 2023-10-28 at 12.50.36.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
1 hour ago, ruralstudio said:

Hi there,

 

I used the following code to position my client's logo in the center of all navigation on desktop (split navigation). Works well, however on mobile the logo is positioned on the left. I've tried a few things but can't seem to move it to the center. Is anyone able to help?

 

site password: guardswell2023

Many thanks!

Screenshot 2023-10-28 at 12.50.28.png

Screenshot 2023-10-28 at 12.50.36.png

You can do it by editing your site. Follow the image instruction 

Screenshot_340.png

Screenshot_341.png

Screenshot_342.png

Screenshot_343.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.