1. cliveportman
  2. /code
  3. /hiding-pinterest-iframe

Hiding Pinterest iframe

Adding Pinterest script to a website created an <iframe> at the bottom of the page, which was adding height. Target it using the following:

iframe[src^="//assets.pinterest"] {
 display: none;

You can't target it with the class attribute because it's created dynamically and is different every time.