Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Logo not centered with hamburger customization


alliel

Question

Posted (edited)

Site URL: https://sealion-tetra-dsdy.squarespace.com

SITE PASSWORD: easternskye

 

Hi there, I used coding to get the navigation menu visible on all platforms, and also found a code to center the logo with that, however, even though it kind of appears centered it isn't. When I make the hamburger navigation not visibile, then the logo goes visible, so it seems the hamburger is pushing the the logo a little to the left. 

 

see coding that I am using:

 

.header-title-logo {
    text-align: center;
}

/*hamburger*/
@media screen and (max-width: 5000px) {
  /* Display burger icon at all widths and align right */  
  .header .header-burger {
    display: flex;
    order: 2 !important;
  }
  /* Make burger menu visible at all widths */  
  .header--menu-open .header-menu {
    opacity: 1;
    visibility: visible;
  }
  /* Hide primary navigation menu */ 
  .header .header-title-nav-wrapper .header-nav {
    display: none;
  }
}

Screen Shot 2021-07-07 at 12.46.10 PM.png

Edited by alliel
Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0

It looks like you solved this?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...