Jump to content
  • 0

Removing the border around a photo element


Rob Bedeaux

Question

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, Content Marketing & Strategy

E rob.bedeaux@nbcuni.com

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

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

×
×
  • Create New...