Jump to content

Space between 2 different styles of text

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

9 hours ago, shane411 said:

Site URL: https://bassoon-violet-z33p.squarespace.com/about

Attempting to reduce the space between lines of 2 different styles of text (under the pictures - Name & Nickname). Tried this code I found online, but it still isn't working. Any ideas?
 
password: dreamteamclt
 
p1 {
margin-top: -15px !important;
}

Add to Design > Custom CSS

div#page-section-624f4cdcc42a870ba6313bd8 .html-block {
    padding-top: 0px;
}
div#page-section-624f4cdcc42a870ba6313bd8 * {
    margin-top: 5px;
    margin-bottom: 5px;
}

 

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, shane411 said:

Thank you @tuanphan!! Such a help. One small thing - when I did this, the first picture appears to have moved up a few pixels. Not sure why - I've verified that they are all cropped the same size. Can you take another look?

 

Second code, margin-top: 5px; did this. Try this new code

div#page-section-624f4cdcc42a870ba6313bd8 .html-block {
    padding-top: 0px;
}
div#page-section-624f4cdcc42a870ba6313bd8 .html-block * {
    margin-top: 5px;
    margin-bottom: 5px;
}

 

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
44 minutes ago, tuanphan said:

Second code, margin-top: 5px; did this. Try this new code

div#page-section-624f4cdcc42a870ba6313bd8 .html-block {
    padding-top: 0px;
}
div#page-section-624f4cdcc42a870ba6313bd8 .html-block * {
    margin-top: 5px;
    margin-bottom: 5px;
}

 

PERFECT! Thank you so much! 

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.