artpimpress Posted May 12, 2022 Share Posted May 12, 2022 Site URL: https://paperwork-co.squarespace.com/paperwork-for-credit-unions I was able to figure out the code to center a button vertically within a block but I can't figure out how to not make it centered on mobile. Right now it overlaps the text. Can anyone help? This is the code I am using: #block-f929a95afe532c3b9f3a { vertical-center: margin: 0; position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); } Link to comment
tuanphan Posted May 15, 2022 Share Posted May 15, 2022 Add to Design > Custom CSS /* Schedule button mobile */ @media screen and (max-width:767px) { div#block-f929a95afe532c3b9f3a { position: static !important; transform: unset !important; } div#block-f929a95afe532c3b9f3a div { text-align: left; }} 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
artpimpress Posted May 15, 2022 Author Share Posted May 15, 2022 Perfect as always. Thank you. I don't know what the Forum would do without you! DotcomMarket 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