Jump to content

How do I stop my home image from sliding under main navigation?

Recommended Posts

I'm having trouble with keeping my home page image below the main navigation (see jpg).

When resizing the browser window, it slides under the navigation, in random positions cutting off the top of my head. 

I want the image to be resizable when the browser window changes, however I want the top start position of the image to always be directly under the navigation (white area) and not slide under. 

Anybody know the correct CSS trick? I'm working in 7.1.

Thanks so much!

example_1.jpg

Link to comment
  • Replies 4
  • Created
  • Last Reply
23 minutes ago, brizzle said:

I'm having trouble with keeping my home page image below the main navigation (see jpg).

When resizing the browser window, it slides under the navigation, in random positions cutting off the top of my head. 

I want the image to be resizable when the browser window changes, however I want the top start position of the image to always be directly under the navigation (white area) and not slide under. 

Anybody know the correct CSS trick? I'm working in 7.1.

Thanks so much!

example_1.jpg

Try to add this in Design->Custom CSS, you site is not accessible so this is psuedo code that works on ordinary template

#page .page-section.background-width--full-bleed:first-child .section-background {
    padding-top: inherit;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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

Thanks for the response bangank36 much appreciated!

I tried the code but no luck.

It's like the background image isn't adhering to the navigation height/properties, just the window size??

I'm redeveloping my site under 7.1...is there a way to give access??

Thanks for any further help!

 

 

Link to comment
9 hours ago, brizzle said:

 bangank36

Here's a screen recording so you can see exactly what is occurring. Thanks 🙂

1326946251_SR_example2.mov

go to setting->site availibity and set a password

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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

Archived

This topic is now archived and is closed to further replies.

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