mportch Posted April 16, 2020 Share Posted April 16, 2020 Site URL: https://smilodon-ocelot-my5f.squarespace.com/ Hi, If I want to change the spacing across the whole site so my images have more room at the sides - how do I REMOVE the spacing from the top? My spacing was on 3vw. I want to be able to alter this whenever I want WITHOUT adding space to the top. If I change it to anything over 3vw up to max 12vw, then this not only gives an undesirable gap at the top, but it also eats into the slideshow image on my homepage. The styling in the header does not change this. passcode: trythis Link to comment
JOHNMD Posted April 16, 2020 Share Posted April 16, 2020 hi, @mportch Perhaps the following lines of code will help you target. You can set each padding area by px or em as below, so 10px by example. And, you can delete the target areas that you do not find useful. For example, the padding-bottom effects the bottom padding of the page. The code also effects the all pages and #page .content-wrapper { padding-top: 1em; padding-bottom: 1em; padding-left: 5em; padding-right: 5em; } - John mcgouran.john@gmail.com Link to comment
mportch Posted April 16, 2020 Author Share Posted April 16, 2020 Thanks, do I enter this into CSS or somewhere more specific in Code Injection? Link to comment
mportch Posted April 16, 2020 Author Share Posted April 16, 2020 I entered into CSS. Works, but is there a way of controlling the mobile view too? Link to comment
mportch Posted April 16, 2020 Author Share Posted April 16, 2020 And how do I get this padding to include the logo and nav at the top?... Link to comment
mportch Posted April 16, 2020 Author Share Posted April 16, 2020 I found it caused too many other issues across the site. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.