Center-Float Gallery Thumnails
-
Me again
I wonder if there’s a way to center-float gallery thumbnails? I usually display thumbs as a galleries (even if I only need to display one or two thumbs in a row).
I noticed that if I have 1 or 2 thumbs in a gallery they float to the left. Is there a way to center them? If I have one – center it, if I have two – stick in one line and center them…
I tried to change it with my custom CSS… by doing this:
div.gallery dl.gallery-item { float: none; display: inline-block; }
But that didn’t help. I tried to use Google CSS Inspection engine and it seems my properties are overridden by smth else. CSS inspection says that Computed CSS property is left for float and block for display.
Can you please point me in the right direction?
Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Center-Float Gallery Thumnails’ is closed to new replies.