shannonpaton Posted April 12, 2022 Share Posted April 12, 2022 Site URL: https://begonia-robin-tem5.squarespace.com/ password: fdp I'm looking for help making it so that the icons under "The Partnership develops a framework through five action-oriented workstreams that:" are center-aligned on mobile. This is the code I have currently, where the icons are still left-aligned on tablet and mobile: /* responsive styling */ @mobile: ~"only screen and (max-width: 640px)"; @tablet: ~"only screen and (min-width: 641px) and (max-width: 1024px)"; /* icons on tablet */ @media @tablet { #block-yui_3_17_2_1_1648735158703_107514, #block-ef69b00fe740f68fb184, #block-020b149884e73b0eef84, #block-db30e412de4cbed74f07, #block-acdf7988f092c02c544c, #block-339fdb65d81639266291, #block-yui_3_17_2_1_1648734445081_29027 { width:75% !important; align-content: center !important; } #block-yui_3_17_2_1_1648734612944_35345, #block-yui_3_17_2_1_1648734612944_35947, #block-yui_3_17_2_1_1648734612944_36547, #block-yui_3_17_2_1_1648734612944_37171, #block-yui_3_17_2_1_1648734612944_37816 { text-align: left !important; width: 75% !important; } } #block-yui_3_17_2_1_1648734612944_35345 p, #block-yui_3_17_2_1_1648734612944_35947 p, #block-yui_3_17_2_1_1648734612944_36547 p, #block-yui_3_17_2_1_1648734612944_37171 p, #block-yui_3_17_2_1_1648734612944_37816 p { font-size: 1.1em !important; } Thank you for any help! Link to comment
Solution Beyondspace Posted April 16, 2022 Solution Share Posted April 16, 2022 On 4/13/2022 at 2:24 AM, shannonpaton said: Site URL: https://begonia-robin-tem5.squarespace.com/ password: fdp I'm looking for help making it so that the icons under "The Partnership develops a framework through five action-oriented workstreams that:" are center-aligned on mobile. This is the code I have currently, where the icons are still left-aligned on tablet and mobile: /* responsive styling */ @mobile: ~"only screen and (max-width: 640px)"; @tablet: ~"only screen and (min-width: 641px) and (max-width: 1024px)"; /* icons on tablet */ @media @tablet { #block-yui_3_17_2_1_1648735158703_107514, #block-ef69b00fe740f68fb184, #block-020b149884e73b0eef84, #block-db30e412de4cbed74f07, #block-acdf7988f092c02c544c, #block-339fdb65d81639266291, #block-yui_3_17_2_1_1648734445081_29027 { width:75% !important; align-content: center !important; } #block-yui_3_17_2_1_1648734612944_35345, #block-yui_3_17_2_1_1648734612944_35947, #block-yui_3_17_2_1_1648734612944_36547, #block-yui_3_17_2_1_1648734612944_37171, #block-yui_3_17_2_1_1648734612944_37816 { text-align: left !important; width: 75% !important; } } #block-yui_3_17_2_1_1648734612944_35345 p, #block-yui_3_17_2_1_1648734612944_35947 p, #block-yui_3_17_2_1_1648734612944_36547 p, #block-yui_3_17_2_1_1648734612944_37171 p, #block-yui_3_17_2_1_1648734612944_37816 p { font-size: 1.1em !important; } Thank you for any help! Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="6245b120e1d1735f6071c7c7"] .span-2 { display: flex; justify-content: center; flex-direction: column; align-items: center; } } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted April 16, 2022 Share Posted April 16, 2022 My testing shannonpaton 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
shannonpaton Posted April 22, 2022 Author Share Posted April 22, 2022 That worked, thank you! Beyondspace 1 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