Jump to content

Scrolling blocks on the full width without widening the other blocks?

Recommended Posts

1) The scrolling blocks are perfectly fitted for the site's width but when I add the CSS it widens all of the content of the pages and it looks bad on both desktop and mobile. Is there any way to widen only the scrolling box without interfering with the other blocks (markdown, text, accordion block) so that the margin stays there? Here's the code that I've used:

[data-section-id="62b09086b0ea6c4c06ff099a"] .content-wrapper{
 padding-left: 0!important;
 padding-right: 0!important;
 margin: 0!important

.Marquee {
 width:100%!important 
}

#page{
 overflow-x: visible
}

 

2) How to prevent the text from the scrolling box from displacing to the bottom on mobile? It looks okay on desktop and is horizontally centered just as I want it to. But on mobile, the text from the scrolling box goes to the bottom of the box. The only thing that works is putting spacers on both sides of the scrolling box but it takes so much space and I'd like to avoid it. Or maybe there is some way to decrease the height of the spacer with CSS?

Zrzut ekranu 2022-07-4 o 18.47.30.png

Zrzut ekranu 2022-07-4 o 18.48.10.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.