huttoncreative Posted September 29, 2021 Share Posted September 29, 2021 Hi, I am working on a 7.0 site where I need the gallery images to be larger on mobile . I know how to get the code for each image and make them larger however they are not entered now. Does anyone know the code to centre the images. This is my code below. /* CSS FOR MOBILE */ @media @mobile { /* Insert Code for Mobile Below This Line*/ #collection-615435ef6ec44457a9705c06 { width: 150% !important; margin: 0 auto; } /* Insert Code for Mobile Above This Line */ } Thanks Link to comment
Beyondspace Posted October 2, 2021 Share Posted October 2, 2021 On 9/30/2021 at 4:53 AM, huttoncreative said: Hi, I am working on a 7.0 site where I need the gallery images to be larger on mobile . I know how to get the code for each image and make them larger however they are not entered now. Does anyone know the code to centre the images. This is my code below. /* CSS FOR MOBILE */ @media @mobile { /* Insert Code for Mobile Below This Line*/ #collection-615435ef6ec44457a9705c06 { width: 150% !important; margin: 0 auto; } /* Insert Code for Mobile Above This Line */ } Thanks You can share your site with a protected password, so we can check it together 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment