Hi there,
I'm trying to create a gallery with WordPress using the native gallery function. I don't want to use any plugin, as the native gallery does all I want it to do. However, whenever I insert the shortcode ([gallery]), it also, right before the images, inserts this code:
<style type='text/css'>
.gallery {
margin: auto;
}
.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%; }
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-caption {
margin-left: 0;
}
</style>
I don't want this code, as I'd like to style my own gallery! In the media.php file in wp-includes, I've tried to change the code for this, and nothing happens.