Jump to content

Removing navigation line break & mobile version vertical line size

Go to solution Solved by Beyondspace,

Recommended Posts

I need help removing the line break in my navigation menu so that the "about us" remains on the same line as other menu items. I have tired various codes from previous threads, however they result in my logo being mis-aligned from center, and/or my "book now" & instagram buttons being too far over towards the margins.  Please help!

Also, is there a way to make he vertical line over the crown shorter on just the mobile version? It looks fine on desktop, but on mobile I want the vertical line to hover only over the crown (not extend beyond it). 

https://www.beautifulyoutanning.com

 Thanks so much for any help! 😊

Screen Shot 2024-04-29 at 1.48.51 PM.png

Screen Shot 2024-04-29 at 1.53.49 PM.png

Edited by DesignPearl
Link to comment
  • DesignPearl changed the title to Removing navigation line break & mobile version vertical line size
  • Replies 5
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

6 hours ago, DesignPearl said:

I need help removing the line break in my navigation menu so that the "about us" remains on the same line as other menu items. I have tired various codes from previous threads, however they result in my logo being mis-aligned from center, and/or my "book now" & instagram buttons being too far over towards the margins.  Please help!

Also, is there a way to make he vertical line over the crown shorter on just the mobile version? It looks fine on desktop, but on mobile I want the vertical line to hover only over the crown (not extend beyond it). 

 Thanks so much for any help! 😊

Screen Shot 2024-04-29 at 1.48.51 PM.png

Screen Shot 2024-04-29 at 1.53.49 PM.png

Can you share your URL site so I can check it easier?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment
  • 3 weeks later...
  • Solution
Posted (edited)

You can try the following Custom css for header

@media only screen and (min-width: 1024px) {
  .header-nav-wrapper {
    position: relative;
  }
  .header-nav-list {
    position: absolute;
    width: 120%;
    left: 50%;
    transform: translateX(-50%);
  }
}

My testing

image.thumb.png.44cfd38792a64ad730bb78dbfa61467c.png

Edited by Beyondspace

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

For the verticle line, you can try the following custom CSS to set on mobile view

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1697177967345_17262 .sqs-block-content {
    height: 100%;
    display: flex;
    align-items: center;
  }
  .fe-6528e2ef5285c047c46cc42d .fe-block:first-child{
    grid-area: 1 / 1 / 8 / 11;
  }
  .fe-6528e2ef5285c047c46cc42d .fe-block:first-child .vertical-line{
    height: 150px;
  }
}

My testing

image.thumb.png.b04fb34558341099aac0ee985c233fef.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment
  • 3 weeks later...

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.