Jump to content

Change Horizontal Line Color entire site

Recommended Posts

Posted

I want to change the color of all the horizontal lines on the site I'm designing in 7.1. 

I used this code:

.sqs-block-horizontalrule hr {
  background-color: #1999ce;
}

It worked on the home page, but not on the other pages.

  • Replies 6
  • Views 3.1k
  • Created
  • Last Reply
Posted
22 minutes ago, matt-polacheck said:

I want to change the color of all the horizontal lines on the site I'm designing in 7.1. 

I used this code:

.sqs-block-horizontalrule hr {
  background-color: #1999ce;
}

It worked on the home page, but not on the other pages.

Let us see your current site

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

You don't necessarily have to use custom CSS to solve this issue. You can customize Section Themes and change the Line Block Line Color.

1495005050_ScreenShot2020-11-05at7_56_22PM.png.4d124549520f73b4976b1bd118a62dbe.png

In the color editor you can enter #1999ce or hex(#1999ce).

893959381_ScreenShot2020-11-05at8_06_39PM.png.859b0f2a27c6aeb3493dcb9a275af137.png

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.