Jump to content

How do I add custom code for reducing padding?

Recommended Posts

  • Replies 7
  • Views 642
  • Created
  • Last Reply
Posted
3 hours ago, islandgirl said:

Site URL: https://jeanne-m-juneau.squarespace.com/

Hi, There's too much padding at the top of the portfolio section on my home page, above the words. Does anyone have custom code to reduce it? (Site is in work in progress)

Also, what should the page widths and site margins be set at?

Many thanks!

pw 1234

Screen Shot 2021-07-20 at 6.35.15 PM.png

You may want to reduce padding top like so

.portfolio-hover[data-horizontal-align="center"][data-mode="hover-cover"] .portfolio-hover-items {
    padding-top: 100px !important;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Thank you so much! That worked great. I appreciate your help. How would I change/decrease the padding on another page? Specifically, a page like this with text and portfolio images below?

Screen Shot 2021-07-22 at 1.01.46 PM.png

Posted
On 7/24/2021 at 7:52 AM, islandgirl said:

I have portfolio hover on another page and there's still too much padding. Is the custom code you provided specific to the home page?

With web design page, try adding to Design > Custom CSS

.gallery-slideshow {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    height: auto !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!)

Posted

Also, do you need to fix these?

Site URL – https://jeanne-m-juneau.squarespace.com/?password=1234

1. (Jeanne) You haven’t changed SEO Title so the browser tab name still shows “About 3”

https://jeanne-m-juneau.squarespace.com/jeanne/?password=1234

jeanne-m-juneau.squarespace.com-01-min.p

2. (Web design) You haven’t changed SEO Title so the browser tab name still shows “General 2”

https://jeanne-m-juneau.squarespace.com/web-design/?password=1234

jeanne-m-juneau.squarespace.com-02-min.p

3. (Reach) You haven’t changed SEO Title so the browser tab name still shows “About 3”

https://jeanne-m-juneau.squarespace.com/reach/?password=1234

jeanne-m-juneau.squarespace.com-03-min.p

4. (Mobile – Web design) Reduce space?

https://jeanne-m-juneau.squarespace.com/web-design/?password=1234

jeanne-m-juneau.squarespace.com-04-min.p

5. (Tablet – Homepage) Reduce white space?

https://jeanne-m-juneau.squarespace.com/?password=1234

jeanne-m-juneau.squarespace.com-05-min.p

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

Posted

Thank you so very much for the suggestions. It is a work in progress and I appreciate your suggestions! I added the code and there's still quite a bit of padding above and below the gallery slideshow. Is there another snippet I should be using? Also I reduced the padding on the footer, thank you!

Posted
On 7/26/2021 at 3:21 AM, islandgirl said:

Thank you so very much for the suggestions. It is a work in progress and I appreciate your suggestions! I added the code and there's still quite a bit of padding above and below the gallery slideshow. Is there another snippet I should be using? Also I reduced the padding on the footer, thank you!

Hi. You mean on desktop or mobile?

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

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.