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

Changing line height in forced mobile menu


vanessakrystin

Question

Site URL: http://www.thisisblueprint.com

Hey all,

Does anyone know how I can change the line height in my forced mobile nav menu?
And also how to add a manual link to the existing code?

Code:
/* 768 for tablet - desktop - 992 for desktop */
@media screen and (min-width:768px) {
 /* hide navigation */
    .header-nav {
    display: none;
}
/* Hide header button */
.header-actions {
    display: none;
}
/* show burger */
.header-burger {
  display: flex;
}
/* Show overlay mobile menu */
.header--menu-open .header-menu {
  opacity: 1;
  visibility: visible;
  line-height: 1em;
}
}

 

Let me know if you can help, thanks

Screen Shot 2021-01-14 at 11.07.53 PM.png

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Site URL: http://www.thisisblueprint.com Hey all, Does anyone know how I can change the line height in my forced mobile nav menu? And also how to add a manual link to the existing code?

Posted Images

2 answers to this question

Recommended Posts

  • 0
3 hours ago, vanessakrystin said:

Site URL: http://www.thisisblueprint.com

Hey all,

Does anyone know how I can change the line height in my forced mobile nav menu?
And also how to add a manual link to the existing code?

Code:
/* 768 for tablet - desktop - 992 for desktop */
@media screen and (min-width:768px) {
 /* hide navigation */
    .header-nav {
    display: none;
}
/* Hide header button */
.header-actions {
    display: none;
}
/* show burger */
.header-burger {
  display: flex;
}
/* Show overlay mobile menu */
.header--menu-open .header-menu {
  opacity: 1;
  visibility: visible;
  line-height: 1em;
}
}

 

Let me know if you can help, thanks

Screen Shot 2021-01-14 at 11.07.53 PM.png

You can add this to Design->Custom CSS

.header-menu-nav-item a {
  padding: 2vw;
}

image.thumb.png.28e3d949217d4fedb1bf24369d6986b3.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, 360 Degree Photo block, Animated Heading Block
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...