Craig456 Posted September 6, 2022 Share Posted September 6, 2022 Site URL: https://www.craigkleila.com/our-services Hi, I'm trying to left-align my icons and text on this page - https://www.craigkleila.com/our-services (password - password). However, as you can see, the media flushes all the way to the left of the card whereas the text has some padding. How can I align these? Link to comment
tuanphan Posted September 6, 2022 Share Posted September 6, 2022 Try adding to Design > Custom CSS @media screen and (min-width:768px) { .user-items-list-item-container[data-section-id="630d48fe448fb4222289e3ab"] img { margin-left: 2vw; } } 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
Craig456 Posted September 6, 2022 Author Share Posted September 6, 2022 That worked for desktop views but not mobile or tablet. Any idea how I can have it aligned on all devices? Link to comment
tuanphan Posted September 7, 2022 Share Posted September 7, 2022 15 hours ago, Craig456 said: That worked for desktop views but not mobile or tablet. Any idea how I can have it aligned on all devices? Try new code .user-items-list-item-container[data-section-id="630d48fe448fb4222289e3ab"] { @media screen and (min-width:992px) { img { margin-left: 2vw; } } /* Tablet */ @media screen and (max-width:991px) { img { margin-left: 3vw; } } /* mobile */ @media screen and (max-width:767px) { img { margin-left: 4vw; } } } You can adjust these values 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
Craig456 Posted September 9, 2022 Author Share Posted September 9, 2022 That worked! Thanks so much 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