Anastasia29 Posted August 28 Share Posted August 28 WEBSITE URL - https://hellowellness.com.au/ Hi, on the mobile version of the website, please help with my title "Hello Wellness" I can't change the location to the left therefore half of it is cut off and it's too big on the mobile version of the site. I have a block id for the image but can't seem to find the right codes to edit the image. I'm currently using these codes: header {display:none} /* CSS FOR TABLET AND MOBILE */ @mobile: ~"only screen and (max-width: 640px)"; @tablet: ~"only screen and (min-width: 641px) and (max-width: 949px)"; /* CSS FOR TABLET */ @media @tablet { /* Insert Code for Tablet Below This Line*/ /* Insert Code for Tablet Above This Line */ } /* CSS FOR MOBILE */ @media @mobile { /* Insert Code for Mobile Below This Line*/ #block-yui_3_17_2_1_1692076346143_8211 { display:block; left: 0; width: 0; margin:0 auto; } /* Insert Code for Mobile Above This Line */ } html, body { overflow-x: hidden; } body { position: relative } Link to comment
Lesum Posted August 28 Share Posted August 28 (edited) @Anastasia29 You can try removing the previous code and add the code below for the mobile version: @media only screen and (max-width: 640px) { svg:not(:root) { width: 100vw !important; height: 200px !important; } .fe-block-yui_3_17_2_1_1692076346143_8211, #block-yui_3_17_2_1_1692076346143_8211 { width: 100vw; height: 200px !important; } } Let me know how it goes. Thanks! Edited August 28 by Lesum Joanna1321 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Anastasia29 Posted August 28 Author Share Posted August 28 Thank you so much!! That worked perfectly 🙂 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