TheHouseOfMischief Posted January 22, 2021 Share Posted January 22, 2021 Site URL: https://dtvgroup.squarespace.com/humanitarian Hi, I would like to change the position of the video titles caption on mobile gallery. It is currently positioned on top left but on mobile it appears almost in the middle of the image. I would like it to appear much closer to the top, so it doesn't cover key elements of the thumbnails. Does anyone know how to adjust this in CSS? Many thanks! Beyondspace 1 Link to comment
Beyondspace Posted January 22, 2021 Share Posted January 22, 2021 2 hours ago, TheHouseOfMischief said: Site URL: https://dtvgroup.squarespace.com/humanitarian Hi, I would like to change the position of the video titles caption on mobile gallery. It is currently positioned on top left but on mobile it appears almost in the middle of the image. I would like it to appear much closer to the top, so it doesn't cover key elements of the thumbnails. Does anyone know how to adjust this in CSS? Many thanks! Try this in Design->Custom CSS @media only screen and (max-width: 600px) { .tweak-index-gallery-content-position-top-left .Index-gallery-item-content, .tweak-index-gallery-content-position-top-center .Index-gallery-item-content, .tweak-index-gallery-content-position-top-right .Index-gallery-item-content { margin-top: 0; } } tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
TheHouseOfMischief Posted January 22, 2021 Author Share Posted January 22, 2021 42 minutes ago, bangank36 said: Try this in Design->Custom CSS @media only screen and (max-width: 600px) { .tweak-index-gallery-content-position-top-left .Index-gallery-item-content, .tweak-index-gallery-content-position-top-center .Index-gallery-item-content, .tweak-index-gallery-content-position-top-right .Index-gallery-item-content { margin-top: 0; } } Thank you very much for your fast response! I'd like to have a gap between the top of the image and the title caption. I have tried by changing the value margin-top, but even if I have it as 1, it pushes the caption in the middle of the image. How can I tweak that? Link to comment
TheHouseOfMischief Posted January 22, 2021 Author Share Posted January 22, 2021 *** SOLVED *** @media only screen and (max-width: 640px) { .tweak-index-gallery-content-position-top-left .Index-gallery-item-content { margin-top: 50px !important; } } Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment