How to hide elements with CSS

This is another of the most useful CSS commands.

Sometimes you just want to quickly get rid of something. Especially in the interests of minimalistic and clean design.

To make this work you need to first find the class of the element you want to hide.

From here you add the custom CSS:

.classname {
  display: none;

Where you obviously replace ‘classname’ with the class of the element – don’t forget the dot!



Web Designer / Graphic Designer based in London.
This site is my own personal reference to all things Wordpress and web design, which I hope will also help others.
Let me know if you have any questions!


Leave a Reply

Your email address will not be published. Required fields are marked *