Jump to content

Make the page content container full-bleed/full-width

Recommended Posts

Site URL: http://www.katejiyeonkim.com/make-it-loud-and-clear

Hi, I am trying to make the first image of the page full-width.

All the elements are contained within the page content box and I am unsure if there is a specific code to only have the first image full-width vs making the entire content box full-width.

Does anyone have solutions?

http://mcqueenmcqueen.com/thelastdavinci

here is the reference website of what i am trying to achieve 

 

Thanks

Link to comment
  • Replies 1
  • Views 695
  • Created
  • Last Reply

Add to Page Settings > Advanced > Header

<style>
main#page {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}
main#page .columns-12 .span-12>div:not(:first-child) {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3vw;
    padding-right: 3vw;
}
</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.