Jump to content

Need help removeing extra space between header and paragraph

Recommended Posts

Posted

Site URL: https://green-lobster-ggnk.squarespace.com/

https://green-lobster-ggnk.squarespace.com/
Site Acess code is 1234

I need to reduce the space between header 3, and paragrph across the site. (See example image)

Setting the h3 verticale spacing lower makes it look bad when there are 2 lines that are h3. 

I want to reduce the sapcing JUST when there is a paragraph below it, I've tried everythign I could find online! 

 

Any help is really appreciated,

Thanks,

Justin

Screen Shot 2021-04-06 at 11.01.00 PM.png

Posted
8 minutes ago, justin.b.callaghan said:

Site URL: https://green-lobster-ggnk.squarespace.com/

https://green-lobster-ggnk.squarespace.com/
Site Acess code is 1234

I need to reduce the space between header 3, and paragrph across the site. (See example image)

Setting the h3 verticale spacing lower makes it look bad when there are 2 lines that are h3. 

I want to reduce the sapcing JUST when there is a paragraph below it, I've tried everythign I could find online! 

 

Any help is really appreciated,

Thanks,

Justin

Screen Shot 2021-04-06 at 11.01.00 PM.png

The space you showed is not between heading 3 and paragraph, it's the image title and subtitle space.

So use this to get rid of it

.sqs-block-image .design-layout-stack .image-card-wrapper .image-subtitle-wrapper div.image-subtitle.sqs-dynamic-text {
  margin-top: 0;
}

image.thumb.png.7506542b7864cc59992520ea3affddde.png

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 (edited)

Thank you! 

That got rid of the space! 

Is it possible to tweak the space, anything other than 0 in the spaces it back to the default.

Not very versed in css, so appologies for silly questions. 

Screen Shot 2021-04-06 at 11.01.00 PM.png

Edited by justin.b.callaghan
  • 10 months later...
Posted
On 4/7/2021 at 8:47 AM, bangank36 said:

The space you showed is not between heading 3 and paragraph, it's the image title and subtitle space.

So use this to get rid of it

.sqs-block-image .design-layout-stack .image-card-wrapper .image-subtitle-wrapper div.image-subtitle.sqs-dynamic-text {
  margin-top: 0;
}

image.thumb.png.7506542b7864cc59992520ea3affddde.png

Hello, I tried this code but it doesn't seem to work, I'm guessing since its a poster image? I am trying to align the text in the center and reduce the space between the title and subtitle. If you could kindly help. Thank you!

image.thumb.png.79d18e332f761383b0c85a38cf326700.png

Posted
On 2/18/2022 at 10:40 PM, Tami21 said:

Hello, I tried this code but it doesn't seem to work, I'm guessing since its a poster image? I am trying to align the text in the center and reduce the space between the title and subtitle. If you could kindly help. Thank you!

image.thumb.png.79d18e332f761383b0c85a38cf326700.png

Can you share link to page where you have problem? We can help 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!)

Posted
41 minutes ago, Tami21 said:

Try adding to Home > Design > Custom Css

section[data-section-id="61e10fec1cefee1fa802b600"] .image-subtitle-wrapper .image-subtitle {
  margin-top: 0 !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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
23 minutes ago, bangank36 said:

Try adding to Home > Design > Custom Css

section[data-section-id="61e10fec1cefee1fa802b600"] .image-subtitle-wrapper .image-subtitle {
  margin-top: 0 !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Hello, Thank you for providing me with the code however I tried applying it to the block -

#block-yui_3_17_2_1_1645073083194_4735 .image-subtitle-wrapper .image-subtitle {
  margin-top: 0 !important;
}

The only issue is that the heading still seems to be aligned to the right and is not centered. Image below for reference. Thank you once again!

image.png.536cbb4f7c7996c8dac0ca33a83300d6.png

Posted
5 hours ago, tuanphan said:

It looks like you figured i out?

Hello! The above code worked partly, unfortunately the header is still not centered.

Posted
11 hours ago, bangank36 said:

Try

#block-yui_3_17_2_1_1645073083194_4735 .image-title h3 {
  display: block;
}

 

Perfect! Thank you so much. Lastly, would you be able to tell me how the image can fit well on the mobile version. The sunglasses are a bit zoomed in when viewing it on mobile. Thanks again, appreciate it 🙂

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.