Jump to content

Add padding between title and tagline

Recommended Posts

Posted (edited)

Hello, 

I've added a small tagline below my title, but the padding between the title and nav menu seems off.  My website is here

Here's the css I used for the tagline: 
 

/* ---- Header Tagline ---- */
.header-title:after {content:"Text goes here"}


What could I add to this to make the padding consistent? I basically just need the same padding that it has between the tagline and menu so it looks consistent. 

EDIT: Solved, I added the following code:
 

/* ---- Header Tagline ---- */
.header-title:after {
  content: 'Text goes here';
  font-size: 14px;
  padding-top: 5px;
  color: #5E5E5E;
  display: block;
}



Thank you!

Edited by ky1e
Link to comment
  • 4 weeks later...
  • Replies 1
  • Views 426
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.