Jump to content

Need to centre align & increase size of embedded video on home page

Go to solution Solved by yubrajs,

Recommended Posts

Posted

Hello!

I am trying to increase the sizing of my embedded video so it's larger and centre aligned rather than shoved over to the left of the page. I can't seem to be able to do this easily and presume I'll need some custom CSS to make this happen but cannot seem to be able to figure it out. Any help would be greatly appreciated!

krm_homescreenlayout.png

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution
Posted

You have to unset the max-width value.

Add this code in custom css

#collection-61a89b896988bc2696ca8e25 #page {
  max-width: unset !important;
  width: 100%;
  position: relative;
  margin: 20px 0 0;
}

Adding above code will make home like the screen-shot attached.

Screenshot 2024-01-07 at 7.38.04 PM.png

Posted
4 minutes ago, yubrajs said:

You have to unset the max-width value.

Add this code in custom css

#collection-61a89b896988bc2696ca8e25 #page {
  max-width: unset !important;
  width: 100%;
  position: relative;
  margin: 20px 0 0;
}

Adding above code will make home like the screen-shot attached.

Screenshot 2024-01-07 at 7.38.04 PM.png

Perfect! Thank you very much!

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.