dusha Posted July 9, 2022 Share Posted July 9, 2022 Site URL: https://dushacastro.com/work I have a rotating .png on my website. I want it to be smaller on mobile than on desktop I can make it disappear but for some reason I can't make it smaller When I try to change the size using (below) the size doesn't change. {width:120px} But when I try to hide it for mobile using (below) the image disappears from mobile {display: none:} Here is my current code: @media only screen and (max-width:770px) {#block-yui_3_17_2_1_1657344033920_6712.sqs-block-image {width:10px}} Link to comment
lizasem Posted July 9, 2022 Share Posted July 9, 2022 Maybe try: @media only screen and (max-width:770px) { #block-yui_3_17_2_1_1657344033920_6712 img { width:10px !important; } } Link to comment
tuanphan Posted July 10, 2022 Share Posted July 10, 2022 Which image are you referring to? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment