Jump to content

Custom CSS to change colour affecting spacing?!

Recommended Posts

Hi there,

I added some custom CSS so I could change the colour of my headings.

It seems that this code has also created weird spacing when viewing my site on my MacBook? I have attached a screenshot.

When I duplicate the page and take the code out, the ugly spacing disappears, even though the font size was the same?

Any ideas how I can customise my headings so they're green without affecting the entire site heading colour?

This was my code:

body h6, .sqs-layout .sqs-block.html-block h6, .sqs-layout .sqs-block.markdown-block h6 {
   color: #2a9837 !important;
   font-size:40px;
   line-height:46px;
   font-family: Calluna, serif;
   font-weight:400;
   text-transform:capitalize;
   letter-spacing:0px;
   }

 

Thanks!

 

screens.jpg

Link to comment
  • Replies 1
  • Views 306
  • Created
  • Last Reply

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.