Jump to content

Archived

This topic is now archived and is closed to further replies.

illinimatt81

Make an object disappear when page collapsed

Recommended Posts

illinimatt81

Is there a way via CSS or DMS to make an element disappear entirely rather than collapse when the screen reaches a certain size?

Share this post


Link to post
Share on other sites
greenfly

You can do this with responsive breakpoints and CSS to hide the elements. 

 

Add display:none; to the element in your media queries. 

 

You can read more about media queries here - http://www.w3.org/TR/css3-mediaqueries/


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
illinimatt81

Thank you Martin Davies I'll experiment with this. I figured it was possible.

Share this post


Link to post
Share on other sites
greenfly

No problem. let us know how you get on :) 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

×