Select Page

Gmail doesn’t support “display: none” but does support “display: none !important”

This might make you think you can’t hide anything in Gmail. The following code will be ignored by Gmail.


Each of the other values for the display property is supported. For example, the following property will work:

style=“display:none !important;” 

Use this to hide elements in Gmail.

About The Author

Rogerio da Silva is a Brazilian who lives in the UK for a little over two decades. He is the owner of a test consulting and outsources services for software development. He likes to blog, write and create content that teaches others how to live a better life. Rogerio has two princesses and one powerful wife that help him with his work. He loves reading biographies of successful authors and dream builders because they inspire him to keep creating!

Leave a reply


Now available on amazon prime

eBook (Amazon)

The Testers Book - An Unconventional Way to Software Testing - Revised Edition

Paperback (