Allison_Blackstone Posted March 15, 2021 Posted March 15, 2021 Site URL: https://cinnamon-penguin-le58.squarespace.com/ingredients-gallery I've tried using the code suggestions listed - but can't get it to work. I just want my gallery images to be centered - as opposed to flush left. Just can't figure out what I'm doing wrong. Password to the dev site is: Averystrail2021 Here's the code I tried using: /* Center gallery grid */ #collection-6045579afe7d2c0ae09521ed .gallery-grid--layout-grid .gallery-grid-wrapper { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; }
Wolfsilon Posted March 15, 2021 Posted March 15, 2021 Hi Allison, Were you able to fix this? I'm taking a look at your website now.
Allison_Blackstone Posted March 15, 2021 Author Posted March 15, 2021 25 minutes ago, Wolfsilon said: Hi Allison, Were you able to fix this? I'm taking a look at your website now. Not yet - I tried using this code instead - but they just stay left justified! body#collection-604556e3098f140fbbec2eb9 .sqs-gallery-block-grid .sqs-gallery-design-grid { display: flex; justify-content: center; flex-wrap: wrap; I have no idea what I'm doing wrong.
tuanphan Posted March 23, 2021 Posted March 23, 2021 On 3/16/2021 at 5:06 AM, Allison_Blackstone said: Not yet - I tried using this code instead - but they just stay left justified! body#collection-604556e3098f140fbbec2eb9 .sqs-gallery-block-grid .sqs-gallery-design-grid { display: flex; justify-content: center; flex-wrap: wrap; I have no idea what I'm doing wrong. try justify-content: center !important; display: flex !important; flex-wrap: wrap; 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.