Jump to content

Reduce space between site title and next block on Desktop only

Recommended Posts

Site URL: https://daisy-tarpon-72er.squarespace.com/portfolio

I have used this code to reduce spacing on the home page between the site title and the slideshow:

/*Move slideshow up to bottom of title header on Desktop only */
@media screen and (min-width: 401px)
{
  .gallery-fullscreen-slideshow-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 93%;
  height: 93%
 }
}

I added width and height as the right hand side of the image, without these property values, runs to full bleed.  I don't think this is correct but don't know how to fix it.

Ideally, I'd like to remove the padding from blocks under the site title on all pages.  There must be a global class that I could use but I am not sure which one.

Can anyone help @tuanphan ?

Thanks

PW: Help123

Link to comment
  • Replies 1
  • Views 594
  • Created
  • Last Reply
On 3/27/2021 at 4:09 PM, fmfm said:

Site URL: https://daisy-tarpon-72er.squarespace.com/portfolio

I have used this code to reduce spacing on the home page between the site title and the slideshow:

/*Move slideshow up to bottom of title header on Desktop only */
@media screen and (min-width: 401px)
{
  .gallery-fullscreen-slideshow-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 93%;
  height: 93%
 }
}

I added width and height as the right hand side of the image, without these property values, runs to full bleed.  I don't think this is correct but don't know how to fix it.

Ideally, I'd like to remove the padding from blocks under the site title on all pages.  There must be a global class that I could use but I am not sure which one.

Can anyone help @tuanphan ?

Thanks

PW: Help123

try

@media only screen and (min-width: 768px) {
      #page .page-section:first-child .content >:first-child {
        padding-top: 0;
      }
}

image.thumb.png.079e66f0f2de65a906824fd98c1ab454.png

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

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.