Jump to content

How do I change top/bottom padding for one section of an index (7.0-Brine, Nueva)?

Recommended Posts

Site URL: https://www.octantacademics.com/homepage-draft-iii

Without changing the padding for the rest of the webpage, I would like to make the top/bottom padding for the 'Our Approach' section (URL provided) consistent with that of the 'Who We Are' and 'Newsletter' sections. The latter two sections have background images that are simply the colors you see. I am assuming the solution will require a CSS code injection for this specific page section, but I do not know what code to use. Any help is appreciated!

Link to comment
  • Replies 7
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
19 hours ago, hannah3 said:

@tuanphan I want to so a similar thing with this red banner section using the Pacifico template, but all my attempts aren't working. I want the entire index section to be that red you see.

Any suggestions? 

 

 

Screen Shot 2022-05-26 at 11.20.08 AM.png

Try this code

.Index-page-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

 

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
On 5/28/2022 at 3:53 AM, hannah3 said:

Thanks @tuanphan! What about having the background code go all the way across the page? The padding doesn't work for me on that. 

Which page doesn't work? Try this code

.Index-page-content {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

 

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
14 hours ago, hannah3 said:

@tuanphan That worked for the top to bottom, but now it won't go across the entire width of the page. And when I try to do the same padding code for left and right it doesn't quite work. I'm working in an Index 7.0 site if that makes any difference. 

Can you share page url? We can check easier

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.