Skip to content

Instantly share code, notes, and snippets.

@emarket-design
Last active January 19, 2016 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emarket-design/ab4cb8ca1863e7c5531b to your computer and use it in GitHub Desktop.
Save emarket-design/ab4cb8ca1863e7c5531b to your computer and use it in GitHub Desktop.
Employee Spotlight Pro WordPress plugin creates a border around employee images. Here is how to change the color and changing to the frame to square from a circle
// The current CSS
div.emd-container .person-img, div.emd-container .emd-image {
border: 4px solid #4abaae;
border-radius: 50%;
}
// The CSS below changes the frame from circle to square for ALL employee images.
// Put in a color code or name for CHANGE-ME if you need to change the border color.
div.emd-container .person-img, div.emd-container .emd-image {
border: 4px solid CHANGE-ME;
border-radius: 0;
}
// The CSS below changes the frame from circle to square for Caurosel only.
// Put in a color code or name for CHANGE-ME if you need to change the border color.
div.emd-container #emp-carousel .person-img, div.emd-container .emd-image {
border: 4px solid CHANGE-ME;
border-radius: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment