Problems with badge sizes on featured images

This discussion is related to the Yaga Featured Badges addon.

The CSS used here does not factor in varying image sizes of badges, I have fixed this by loading a small bit of custom css:

Current css:

.FeaturedBadgesWrap li {
  width: 100px;
  height: 100px;
  display: inline-block;
  margin: 10px;
}

Updated css:

.FeaturedBadgesWrap li img{
  width: 100px;
  height: 100px;
  display: inline-block;
  margin: 10px;
}

I don't foresee any issues with this, but you could seperate out the img width and height if you need to change display.

Tagged:
Sign In or Register to comment.