Jump to content

Make hamburger meny dekstop

Recommended Posts

Hi,

I found the code below to make the menu of the desktop-version of my site also into a hamburger-menu. But when I apply the code, the audio icon to the right in my header disappears, and my site title moves slightly right.

How to workaround this issue? (the below hamburger code not currently applied as my site is live and I do not want it to look messy, but I still hope you might be able to help out in correcting the issue)

.header .header-burger{display:flex}
.header-nav, .header-actions {display:none}
.header--menu-open .header-menu { opacity: 1; visibility: visible;}

Link to comment
  • Replies 5
  • Views 263
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

Hi!

Site url is www.sigurdhole.no

I just installed a hamburger-menu plugin by Ghost, it seems to work well - but I would like to be able to change position of the site title, either center or to the right. How may this be achieved?

(changing the layout in the "edit header" built in editor does not work, the logo in center layout makes site title appear too far left of center, and the logo right layout interferes with my audio playback icon) 

Sigurd

Link to comment
On 5/25/2023 at 6:44 PM, sihole said:

Hi!

Site url is www.sigurdhole.no

I just installed a hamburger-menu plugin by Ghost, it seems to work well - but I would like to be able to change position of the site title, either center or to the right. How may this be achieved?

(changing the layout in the "edit header" built in editor does not work, the logo in center layout makes site title appear too far left of center, and the logo right layout interferes with my audio playback icon) 

Sigurd

To center site title, add this to Design > Custom CSS

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

 

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.