Jump to content

Custom CSS not changing the site at all.

Recommended Posts

Posted

Site URL: https://flounder-endive-g7et.squarespace.com/

Hey guys I am new to the site and not a coder at all, thats way I went with squarespace.

That said I am having a great deal of problems with the responsiveness of the site, in the home page I have a videos as the main heater when in mobile it was cropped at the sides so I had to create a very bad version of it as a gif because the template only accepts 20mb, not ideal. Also in the home page I have a galera and an Image (awards) that wont resize when in mobile. Every CSS that I came across in forum and etc wont change anything when pasted in the custom CSS area.

Can someone help me here. I just want my mains header video, img gallery and img(awards) to responde to mobile.

Thanks!

  • Replies 13
  • Views 1.2k
  • Created
  • Last Reply
Posted
1 hour ago, danielkalves said:

Site URL: https://flounder-endive-g7et.squarespace.com/

Hey guys I am new to the site and not a coder at all, thats way I went with squarespace.

That said I am having a great deal of problems with the responsiveness of the site, in the home page I have a videos as the main heater when in mobile it was cropped at the sides so I had to create a very bad version of it as a gif because the template only accepts 20mb, not ideal. Also in the home page I have a galera and an Image (awards) that wont resize when in mobile. Every CSS that I came across in forum and etc wont change anything when pasted in the custom CSS area.

Can someone help me here. I just want my mains header video, img gallery and img(awards) to responde to mobile.

Thanks!

Can you share your protected password?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
3 hours ago, danielkalves said:

How do I do that safely?

Sharing a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
12 hours ago, danielkalves said:

Awesome thanks guys. The password is: 123456

Add to Design > Custom CSS

/* Resize mobile video-image */
@media screen and (max-width:767px) {
[data-section-id="6115bd2deef6b019cf5b09b0"] video {
    width: 100% !important;
    height: auto !important;
}

[data-section-id="6115bd2deef6b019cf5b09b0"] {
    min-height: unset !important;
    height: 35vh !important;
    margin-top: 10vh;
}

[data-section-id="611eb62de612146b6d188c3e"] {
    min-height: unset !important;
    height: 10vh;
}
}

 

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!)

Posted
On 10/5/2021 at 3:02 AM, tuanphan said:

Add to Design > Custom CSS

/* Resize mobile video-image */
@media screen and (max-width:767px) {
[data-section-id="6115bd2deef6b019cf5b09b0"] video {
    width: 100% !important;
    height: auto !important;
}

[data-section-id="6115bd2deef6b019cf5b09b0"] {
    min-height: unset !important;
    height: 35vh !important;
    margin-top: 10vh;
}

[data-section-id="611eb62de612146b6d188c3e"] {
    min-height: unset !important;
    height: 10vh;
}
}

 

This is amazing man! You solved 70% of the problems with that code but the gallery imgs (yellow with 3 movies slots side by side) is not resizing. Can you help me with that also? Thanks a lot guys

Posted
On 10/21/2021 at 12:36 AM, danielkalves said:

Yes, its cropping the sides of it.

Add to Design > Custom CSS > Then save & reload the site

/* Resize slideshow mobile */
@media screen and (max-width:767px) {
body.homepage .gallery-fullscreen-slideshow[data-width="full-bleed"] {
    height: 35vh !important;
}
}

 

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.