jatre190 Posted July 17, 2016 Share Posted July 17, 2016 (edited) Hi, I would like to know if it's possible to have some space between projects in the gallery of Flation. (Like the Wexley template) Thanks a lot! Jany Edited July 17, 2016 by jatre190 Initial Revision paul2009 1 Link to comment
Solution paul2009 Posted July 17, 2016 Solution Share Posted July 17, 2016 (edited) Hi You didn't provide a link to your site so I can't test it for your situation, but try adding something like this to Design > Custom CSS: /* Flatiron: Add 8px white space between index items */ /* set the white space on each side of page */ #container-content { padding-left: 8px!important; padding-right: 8px!important; } #grid .item { margin-left:-8px; a { border: 16px solid #fff; } /* Overlay size on hover */ .wrapper { margin: 16px; } } Paul Edited February 21, 2020 by paul2009 Imported from Answers keshnadonia and loren1 1 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
jatre190 Posted July 17, 2016 Author Share Posted July 17, 2016 Hi Paul, Thanks a lot for your help! It's working, but I still have one issue... is it possible to get a margin also on the right? Here is my website if you one to take a look :www.janytremblay.com Thanks again! Jany Link to comment
jatre190 Posted July 17, 2016 Author Share Posted July 17, 2016 Hi Paul, Thanks a lot for your help! It's working, but I still have one issue... is it possible to get a margin also on the right? Here is my website if you one to take a look :www.janytremblay.com Thanks again! Jany Link to comment
jatre190 Posted July 17, 2016 Author Share Posted July 17, 2016 Hi Paul, Thanks a lot for your help! It's working, but I still have one issue... is it possible to get a margin also on the right? Here is my website if you one to take a look : www.janytremblay.com Thanks again! Jany Link to comment
paul2009 Posted July 17, 2016 Share Posted July 17, 2016 Hi Jany If the margins on the left and right aren't equal it's because you've changed the numbers. The margin-left should always be (negative) half the border/wrapper margin value. So if you change line 5 to 16px, you need to change line 3 to -8. I hope that helps. Paul Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
jatre190 Posted July 17, 2016 Author Share Posted July 17, 2016 Yes that helps! Thanks! I still have one question, is it possible to have the same amount of white with the margin and the border? I mean, have 16px all around the projects? www.janytremblay.com Thanks, Jany Link to comment
paul2009 Posted July 18, 2016 Share Posted July 18, 2016 Yes, it bugged me too. I've amended the answer above so that there's the same around each image, including the sides :-) Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
sarahjohanna Posted August 19, 2020 Share Posted August 19, 2020 @paul2009 I tried to use your CSS and it works but on some photos there's a little Vogue logo down below that gets cut off now. How can I fix this issue? And is it also possible to add the same amount of white border at the end of the site? Screenshots attached (www.sarahkoester.com) Link to comment
keshnadonia Posted March 30, 2021 Share Posted March 30, 2021 I just wanted to say thank you Paul! this worked for me. www.doniastudio.co tuanphan 1 Link to comment
tuanphan Posted April 4, 2021 Share Posted April 4, 2021 On 3/30/2021 at 8:58 PM, keshnadonia said: I just wanted to say thank you Paul! this worked for me. www.doniastudio.co Just want to say your site has a huge title on mobile. You can add this CSS to reduce its size /* project title */ @media screen and (max-width:640px) { .project-title h2 { font-size: 18px !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!) Link to comment
tylerelise Posted August 16, 2021 Share Posted August 16, 2021 (edited) Hi! Thanks so much for this, I'm noticing when using this code that the gallery images are a bit off-center now. They're skewing towards the bottom right corner. Any idea on how to fix this? I've attached the link to my website below for reference as well as an image that shows what it looks like in edit mode, it looks like the images are sitting at the corner of their respective boxes, not sure if this is what's causing the issue. Thank you! https://www.tylerelise.com/ Edited August 16, 2021 by tylerelise Adding image Link to comment
donaldely Posted May 13, 2022 Share Posted May 13, 2022 On 8/16/2021 at 5:32 PM, tylerelise said: Hi! Thanks so much for this, I'm noticing when using this code that the gallery images are a bit off-center now. They're skewing towards the bottom right corner. Any idea on how to fix this? I've attached the link to my website below for reference as well as an image that shows what it looks like in edit mode, it looks like the images are sitting at the corner of their respective boxes, not sure if this is what's causing the issue. Thank you! https://www.tylerelise.com/ Hey, Paul, I'm getting the same problem as tyler. When inserting the code it crops the right and bottom portion of the thumbnail. Is there a way to add spacing without cropping the imagery? 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