Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Horizontal line full width


jenniferboddam

Question

I'm trying to get several horizontal lines on my site to be full width, not all of them.

I am using

#block-yui_3_17_2_1_1631810515381_17071
{ width: 100% !important; }

to target a specific one, but it only extends to the right and not the left I tried targeting hr as well and it didn't work

Ideally I'd like to have two lines in some places a few pixels apart, I've attached a screen shot I've tried using

#block-yui_3_17_2_1_1631812436781_3916
{width: 100% !important;
  padding-top: -100px !important;}


as well and I'm not seeing any movement. How do you target the specific lines to be full bleed?

 

site is https://flugelhorn-seahorse-lzrb.squarespace.com/

pw: design123

 

 

Screen Shot 2021-09-16 at 1.17.25 PM.png

Link to comment
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0
On 9/20/2021 at 6:11 AM, jenniferboddam said:

@tuanphan ok I added a section with two lines on the home page, right above the footer/below the reviews

 

section id:     section[data-section-id="6147c33758d0d12c942cc8fd"]

Add to Design > Custom CSS

/* Lines fullwidth */
[data-section-id="6147c33758d0d12c942cc8fd"] .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 9/22/2021 at 2:07 AM, jenniferboddam said:

@tuanphan Thank you! if I wanted to make them really close together how would I target that, doing padding top/bottom doesn't seem to effect it ?

Use this code

/* Lines fullwidth */
[data-section-id="6147c33758d0d12c942cc8fd"] .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}
.horizontalrule-block {
    padding: 0px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 0
On 9/25/2021 at 2:22 AM, jenniferboddam said:

@tuanphan

thanks! that worked great!, is there a way to target just the lines though and not everything in the section?

use this class

Quote
[data-section-id="6147c33758d0d12c942cc8fd"] .horizontalrule-block

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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...