cjjonesyc Posted May 31, 2023 Share Posted May 31, 2023 Hello, I would like to centre the gallery vertically on mobile. The gallery is currently at the top of the page. Any help much appreciated. Best. Link to comment
JayVanDyke Posted May 31, 2023 Share Posted May 31, 2023 can you post your link? ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
cjjonesyc Posted June 1, 2023 Author Share Posted June 1, 2023 19 hours ago, jaeveedee said: can you post your link? https://www.chrisjjones.co/ thanks! Link to comment
Solution JayVanDyke Posted June 1, 2023 Solution Share Posted June 1, 2023 This might do it for you. The tricky part here will be making sure to add in the non gallery pages if you add anymore. I'm fairly certain I targeted the correct ones but if it doesn't work let me know and leave the code in place. @media only screen and (max-width:640px){ body:not(#collection-5ec1771c5bddb16cf6d2328c):not(#collection-5ec176a35ff2e369e5d3be95) { #sections .page-section:first-child { padding-top: 0px !important; box-sizing: border-box; min-height: 100vh; } } } tuanphan 1 ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
cjjonesyc Posted June 1, 2023 Author Share Posted June 1, 2023 worked a treat, 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