You could over-ride the inline style by using !important in your stylesheet or remove the inline gallery css altogether by adding:
add_filter('gallery_style', create_function('$a', 'return "
<div class=\'gallery\'>";'));
to your theme’s functions.php file and add your own CSS to your stylesheet.
Thread Starter
exit6
(@exit6)
Great thanks, I’ll try that.
Thread Starter
exit6
(@exit6)
No luck on the add_filter, although I’m not sure where to put it in the context of that file. Should it be wrapped in tags?
Is there a way to display the images more directly, without the shortcode? I’m trying to pull the fist image in the gallery and make it big, then have the rest become thumbnails beneath, but without all the extra css and html that is getting generated. Ideally I’d just get a bunch of img tags with urls.
Thanks.
No – it shouldn’t be wrapped in anything. Simply adding it to functions.php is sufficient.