Center Image in a Hover Box

Hi, I'm currently working on a website I am using a hover box with images to create the icons under the slider. Ive added this custom css to center them.
.hover_box .hover_box_wrapper .visible_photo {Margin-left: auto; Margin-right: auto;}
.hover_box .hover_box_wrapper .hidden_photo {Margin-left: auto; Margin-right: auto;}
This centers the visible image but the hidden one still stays left aligned, how would i fix this?


Sign In or Register to comment.