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

Full width photo with text overlay

Question

3 answers to this question

Recommended Posts

  • 0
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;
}

 


Send me a message if you have any questions (free 10 minutes)

Free code: Squarespace 7.0 (4000+ code)

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post
  • 0

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!!

Share this post


Link to post
  • 0
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>

 


Send me a message if you have any questions (free 10 minutes)

Free code: Squarespace 7.0 (4000+ code)

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


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