Jump to content

Adjust ONE line block

Recommended Posts

Hi,

I'm trying to adjust just one line block on a site I'm working on, but can't figure out how to target it. I've tried the data section id and block id, but it has no effect. If I don't add a block or section ID, the code works but I don't want it to affect all line blocks across the site. The code I'm using:

sqs-block-horizontalrule hr {
  height: 5px; 
  width: 100%; 
  background-color: #BF4B02}

I'm trying to thicken the lines and have the left margin as 0 to have the line look like it's coming from off screen on screen (if that makes sense.)
 

Screenshot 2022-02-28 133443.png

Screenshot 2022-02-28 133508.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 3/1/2022 at 3:35 AM, foxandhazel said:

Hi,

I'm trying to adjust just one line block on a site I'm working on, but can't figure out how to target it. I've tried the data section id and block id, but it has no effect. If I don't add a block or section ID, the code works but I don't want it to affect all line blocks across the site. The code I'm using:

sqs-block-horizontalrule hr {
  height: 5px; 
  width: 100%; 
  background-color: #BF4B02}

I'm trying to thicken the lines and have the left margin as 0 to have the line look like it's coming from off screen on screen (if that makes sense.)
 

Screenshot 2022-02-28 133443.png

Screenshot 2022-02-28 133508.png

Can you share your site with the protected password so we can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.