Jump to content

How do I get full screen images and header?

Go to solution Solved by tuanphan,

Recommended Posts

Hi, I'm trying to get full screen images of my portfolio works and header without using the lightbox. I don't want users to have to click each image to make it full screen and ideally the home page would have much smaller margins on the sides as opposed to the giant gaps I currently have. Then all you have to do is scroll down to see all the artwork and they take up most of the screen space. I'm using 7.0 version if that makes a difference.

Thanks!

Link to comment
4 hours ago, tuanphan said:

You can use this CSS to Website Tools > Custom CSS to reduce space on both sides

body.homepage div#canvas {
    max-width: 1400px !important;
}

 

Thank you! That worked perfectly for my home page. Is there anyway to use the same code on my other link pages? When I click on the "Sketches" section it doesn't have the same custom css. I tried adding the code to the individual page settings but that didn't work, unless I'm using the wrong code.

Link to comment
  • Solution
18 hours ago, Ninjacart said:

Thank you! That worked perfectly for my home page. Is there anyway to use the same code on my other link pages? When I click on the "Sketches" section it doesn't have the same custom css. I tried adding the code to the individual page settings but that didn't work, unless I'm using the wrong code.

You can remove

.homepage

from the code

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

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.