Jump to content

Full width photo with text overlay

Recommended Posts

  • Replies 3
  • Created
  • Last Reply
7 hours ago, LauraBP said:

I'm trying to make the image on the home page full width, no padding between it and the nav either. How can I do this without using an index? I tried that -this is using the index page, and it's how I want it to look: http://russellrpc.org/home-2

But if I set that as the home page, the second section shows up in the nav as an extra item. 

http://russellrpc.org/

Please help, thanks!!

Add to Home > Design > Custom CSS

/* Set fullwidth, remove padding all elements */
main#page {
    max-width: 100%;
    padding: 0;
}
/* Reset all elements exclude banner */
main#page #content .sqs-layout .row:not(:first-child) {
    max-width: 1080px;
    padding-left: 34px;
    padding-right: 34px;
    margin: 0 auto;
}

 

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
  • 2 months later...
19 hours ago, LauraBP said:

YES exactly what I needed, thank you! However, how can I make this apply to one specific page? (Probably just the home page, but I may decide to use it elsewhere too). 

Thanks!!

Add to Page Settings > Advanced > Header

<style>
  /* Set fullwidth, remove padding all elements */
main#page {
    max-width: 100%;
    padding: 0;
}
/* Reset all elements exclude banner */
main#page #content .sqs-layout .row:not(:first-child) {
    max-width: 1080px;
    padding-left: 34px;
    padding-right: 34px;
    margin: 0 auto;
}
</style>

 

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

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.