Queenie Posted August 18, 2022 Share Posted August 18, 2022 Site URL: https://sadiespikescuriouscabinet.com/alternative-art-school-bristol Hi, I'm looking to reduce the amount of space each side of text and buttons in a list section on mobile view only. The web copy is being displayed in a narrow central area meaning that some of the words, and specifically the buttons are forced to drop vertically over several lines, rather than run across one line horizontally. Does anyone know of a css fix for this please? Thanks! Link to comment
tuanphan Posted August 21, 2022 Share Posted August 21, 2022 (edited) Edit this code in Custom CSS @media only screen and (max-width: 640px) { .sqs-block-button-element { width:50% } } to this @media only screen and (max-width: 640px) { a.sqs-block-button-element:not(.list-item-content__button) { width:50%; } } also, I see you are using some invalid font face code (the urls in code doesn't exist) Edited August 21, 2022 by tuanphan Queenie 1 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
Queenie Posted August 24, 2022 Author Share Posted August 24, 2022 @tuanphan Thanks so much for this! It's perfect now 🙂 I'll email you about the invalid font face code 👍 tuanphan 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