Hello,
Does somebody know how I make the corners of a gallery round?
This is the gallery I want to make round: http://nl.nergensbeterdanthuis.wikia.com/wiki/Seizoen_7#Hoofdpersonages
Greetings
Hello,
Does somebody know how I make the corners of a gallery round?
This is the gallery I want to make round: http://nl.nergensbeterdanthuis.wikia.com/wiki/Seizoen_7#Hoofdpersonages
Greetings
Try the following:
.wikia-gallery .gallery-image-wrapper { border-radius: 10px; overflow: hidden; }
Thanx a lot! But now all the gallery's are round... Can I add something in them like 'RoundShape="none" ' or something? :)
You can do that in the following way:
<div class="gallery-rounded"> <gallery> ... </gallery> </div>
And this CSS:
.gallery-rounded .wikia-gallery .gallery-image-wrapper { border-radius: 10px; overflow: hidden; }
And then all galleries contained in this div element would be rounded.
So the gallery's I want to be round, I have to add div? And with that CSS code the rest of the gallery's aren't round?
Yes! It worked! :) Thanx a lot!