Jump to content

Removing the border around a photo element


Rob Bedeaux

Recommended Posts

Using the photo element is a great way to highlight a sponsor's logo. However, the default includes a border around the image. You can remove that by placing this snippet in the head code of the page

 

<style>.heroPhotoElement img {
    border: 0px;
}
</style>

If you want it to only apply to the current page, make sure you place it in the 'head code' and not the cascading head code. 

 

AS ALWAYS USE CUSTOM CODE AT YOUR OWN RISK. 

Rob Bedeaux (he/him/his)
Director, Partnerships & Symphony Marketing
E rob.bedeaux@nbcuni.com

NBC SPORTS NEXT & FANDANGO

Link to comment
Share on other sites

  • 1 year later...

Archived

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

×
×
  • Create New...