I am looking for a way to hide specific sections (that have been given a custom section id)
One code that will allow me to hide specific sections on mobile, but appear on desktop – and another that will allow me to hide specific sections on desktop, but appear on mobile.
For instance – if I have a section with images I want to display on desktop, but not on mobile ; or vice versa.
Thank you in advance
Hey dvus4l,
Please provide a link to the site so we can look into this further.
Best regards,
Jordan Shannon
Jordan,
It can ultimately be any website – the website in question is this one
I would like to hide certain sections on desktop, but to appear on mobile – and vice versa
Thank you in advance
Hi,
You can use this code to show custom section on mobile but not on desktop:
#customid {
display: none;
}
@media only screen and (max-width:767px) {
#customid {
display: block;
}
}
Hope this helps, just replace customid with the custom id you are using. :)
Best regards,
Nikko