mportch Posted January 29 Share Posted January 29 Hi, How do I add more space between the last image and the description copy - in mobile view - on all my project pages? https://www.mattportch.com/lost-america Link to comment
abibacon Posted January 29 Share Posted January 29 Hey @mportch, I'm happy to take a look in the back end, if you could provide access to the site (abi@abibacon.com) Squarespace Developer based in Hampshire, England If you'd like to make a contribution for my time you can Buy Me A Coffee. Reach out for Custom Coding - abibacon.com Developer & Support Specialist at will-myers.com (Affiliate Link) Link to comment
mportch Posted January 30 Author Share Posted January 30 Hi, Not sure how I do that? All I usually do is provide my url and someone seems to suggest code that works. Thanks, Link to comment
creedon Posted January 30 Share Posted January 30 Most likely no need for backend access on this one. Add the following to Website > Website Tools > Custom CSS. /* "project" pages restore spacer on mobile */ @media screen and ( max-width : 767px ) { #block-cb33a2ef4351969fa655, /* lost america */ #block-c0317767e7f711318800, /* desert modern */ #block-e677e4cca8e64e49342e, /* forgotten palms */ #block-04e8f55bbf850175112a, /* kalah */ x-twc-dummy-selector /* dummy selector so others above can all use , */ { display : unset; } } This is for v7.1 and specific to the poster's need. What this code is doing is restoring the spacer blocks that are normally "removed" on mobile. As new "projects" are added or removed, the block ids need to be updated. To find the spacer block ids check out Heather Tovey's most excellent looking Squarespace ID Finder. Note the structure of the code, each block id ends with a comma ( not including the comment text ), except the last which uses a dummy selector. x-twc-dummy-selector Make your changes above this line Let us know how it goes. mportch 1 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. Link to comment
mportch Posted February 1 Author Share Posted February 1 Great that seems to work thanks! Is there any way of adjusting the space? Sometimes I can identify this in someone's suggested code and adjust myself. It's usually something like 'top margin: etc' 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