Jump to content

Center align video text description mobile only OR indent text description so it's indented on both

Recommended Posts

Hey guys,

My video descriptions look good on desktop, but are too tight on mobile (see pics). I'd ideally like to center the description on mobile (and keep desktop as is) OR indent so it's a little indented for both. I've scoured the forums but can't find an answer. 

Site is www.adamwarmington.com

Thank you

 

IMG_3797.jpg

Screenshot 2024-09-14 at 12.23.34 PM.png

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

Top Posters In This Topic

Hi,

Something like this?

If so, add the below CSS in Custom CSS - it is for mobile only

@media (max-width: 767px) {
    .sqs-block-video .video-caption-wrapper {
        text-align : center;
    }
}

 

Screenshot 2024-09-17 at 13.48.22.png

 👨‍🔧👨‍💻 Squarespace plugins

🙋‍♂️ Squarespace Custom Web Development & Design

📅 Notion alternative

📹 Squarespace Tutorials for free - YouTube📹 

💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years

🙋‍♂️ Let's connect on LinkedIn

 

Link to comment

This might not be the right thread, but hoping for some help.

 Any thoughts on how to tweak this code?. As is, it takes up the entire page not allowing me to add anything additional to the page or anything else.

I need to somehow reduce the size of it so I can still add additional pages or text font to the remainder of the pages. 

Thank you in advance! 

https://www.jolijames.co/moonphase

Link to comment
On 9/19/2024 at 4:43 AM, JoliJ said:

This might not be the right thread, but hoping for some help.

 Any thoughts on how to tweak this code?. As is, it takes up the entire page not allowing me to add anything additional to the page or anything else.

I need to somehow reduce the size of it so I can still add additional pages or text font to the remainder of the pages. 

 

Thank you in advance! 

https://www.jolijames.co/moonphase

You can use this to Website Tools > Custom CSS to reduce gap

.fe-66e98f2e1707457ce5acde2c {
    grid-template-rows: repeat(25,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important;
}
.fe-block-yui_3_17_2_1_1726582520938_20291 {
    grid-row-start;
    grid-row-start: 15 !important;
}

 

Edited by tuanphan

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.