Jump to content

Extend horizontal line full width

Recommended Posts

  • Replies 1
  • Views 423
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 4/1/2022 at 2:23 AM, kds_on_ss said:

Site URL: https://kdigitalstudio.com/blog

I've tried extending the horizontal line by targeting it in CSS and in a code block. I can only get the line to extend fully to the right. I would like the line to fully extend the span of the page.

You mean line under first section?

Add to Design > Custom CSS

/* horizontal line fullwidth */
div#block-yui_3_17_2_1_1648752294136_3035 hr {
    width: 3000px;
    margin-left: -500px;


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

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.