Jump to content

Scrolling text borders above and below

Recommended Posts

Hi,

 

I'm trying to achieve a border above and below my scrolling marquee, adding the border below works fine but when i try and add one above there is an additional line appearing which i don't want. I'm using the code as below:

.Marquee * {
   border-bottom: 1px solid;
}

.Marquee * {
   border-top: 1px solid;
}

 

I'm not very knowledgable on CSS so any help would be appreciated so I have a single line above and a single line below the scrolling text.

 

Thanks!

Screenshot 2022-05-16 at 15.41.23.png

Screenshot 2022-05-16 at 15.41.34.png

Link to comment
  • Replies 7
  • Views 819
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
On 5/16/2022 at 12:09 AM, ArminB said:

hey there.

This should help:

 

.Marquee-svg
{color: #ff7f7f;
border-bottom: 1px solid #ff7f7f;
border-top: 1px solid #ff7f7f;
padding-top: 10px}

 

How do I get the border to appear on the outside of the white marquee box instead of inside it?

Screen Shot 2022-07-15 at 12.51.39 PM.png

Link to comment
On 7/24/2022 at 7:48 AM, vireshwara said:

@tuanphan here's the link (home page): https://alpaca-alligator-ewza.squarespace.com/config/design

I can add you as a contributor if needed, just send me your email.

Your site is private.

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.