How can I add a styled line above the newsletter section?

hi!

I’m looking to add a line above the newsletter section. Same style as the other ones on the homepage, think it’s like below. I’ve tried multiple things but can’t get it to appear. Can anyone help me?

Thanks so much!

www.rockawaydigital.com

border-bottom: 0.5px solid #ed5f2b

Hey @INFRA ,

You can add the following code at the bottom of your assets/theme.scss.liquid file.

.pxs-newsletter-section:before {
    display: block;
    height: 1px;
    margin: 0 30px;
    background: #f0eff2;
    content: "";
}

Hope this works

Thanks!

Hi @INFRA ,

You can achieve this by css. Go to Online StoreThemesActionsEdit code → Assets → theme.scss.liquid
Add the below code

.pxs-newsletter-section {
position: relative;
}
.pxs-newsletter-section:before {
content: “”;
height: 1px;
background: #f0eff2;
position: absolute;
top: 0;
left: 30px;
right: 30px;
}

Thank you, works perfectly!