Jump to content

How do I add custom code for reducing padding?

Recommended Posts

  • Replies 7
  • Views 560
  • Created
  • Last Reply

Top Posters In This Topic

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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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!)

Link to comment

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

Link to comment

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!

Link to comment
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!)

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.