Jump to content
Welcome! Community launches Feb. 1st ×
  • 0

Removing the border around a photo element


Rob Bedeaux
 Share

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

5 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...