MissHazelJade Posted April 30, 2021 Share Posted April 30, 2021 (edited) Site URL: https://jadeanthony.com/the-regulars Hey friends! I really need some help targeting a specific Grid Summary Block on a page that has both, a Grid summary and List summary, where I want to center its contents. Right now, I'm using the following code: <style> #block-yui_3_17_2_1_1619719686531_1992 .summary-thumbnail-container {display: flex; justify-content: center} .sqs-block-summary-v2 .summary-item-list {display: flex; justify-content: center} </style> But I want to keep the top List Summary Block listed vertically with the text left-aligned. The page link is: https://jadeanthony.com/the-regulars Can anyone help? Thanks! Edited May 1, 2021 by MissHazelJade Change of link. Link to comment
Solution tuanphan Posted May 1, 2021 Solution Share Posted May 1, 2021 You want to target Grid Summary only? Remove above & use this code <style> [data-block-json*="autogrid"] .summary-thumbnail-container {display: flex; justify-content: center;} [data-block-json*="autogrid"] .summary-item-list {display: flex; justify-content: center;} </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
MissHazelJade Posted May 1, 2021 Author Share Posted May 1, 2021 9 hours ago, tuanphan said: You want to target Grid Summary only? Remove above & use this code <style> [data-block-json*="autogrid"] .summary-thumbnail-container {display: flex; justify-content: center;} [data-block-json*="autogrid"] .summary-item-list {display: flex; justify-content: center;} </style> 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