bkenyatta Posted September 22, 2021 Share Posted September 22, 2021 Site URL: https://www.kenyattathomas.com/ Hi everyone. On my website, I have animated backgrounds in header sections on my website with blocks underneath the text so that the text is more visible above the animation. However, on mobile, the text no longer lines up with the boxes and looks quite wonky, so I'm looking to remove the animated background so that the background is just the plain red of the rest of the website, but on mobile only. Is there any way to code this? Thanks so much! HoaLT 1 Link to comment
HoaLT Posted September 22, 2021 Share Posted September 22, 2021 2 hours ago, bkenyatta said: Site URL: https://www.kenyattathomas.com/ Hi everyone. On my website, I have animated backgrounds in header sections on my website with blocks underneath the text so that the text is more visible above the animation. However, on mobile, the text no longer lines up with the boxes and looks quite wonky, so I'm looking to remove the animated background so that the background is just the plain red of the rest of the website, but on mobile only. Is there any way to code this? Thanks so much! You should try the following modification in Design > Custom Css Hope it is helpful for you @media only screen and (max-width: 767px) { section:first-child .section-background { display:none; } } 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