I have never had a problem with [gallery]s with IE8 and IE9, never needed to edit the media.php ..
Everything can normally be done with CSS.. what exactly is your one column headache?
Maybe providing a link to what the issue is might be of help as well… not to mention that I doubt anyone will assist too far unless they know why you edited the media.php, there really shouldn’t have been a need for that.
here is what i need to edit:
#gallery-1 {
margin: auto;
}
#gallery-1 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 20%;
}
#gallery-1 img {
border: 0px solid #cfcfcf;
}
#gallery-1 .gallery-caption {
margin-left: 0;
}
The gallery works fine on FF, chrome and safari but only IE7 and IE8 dont work – it shows the gallery in one column – i googled and found out to edit the media.php file which has the above that i also see once i inspect the page with the dev tools
any ideas?
.. you don’t need to edit that, if you use a plugin like Theme Companion (CSS Override editor) or even putting it into your style.css of your child theme you can change that CSS however you want.
Just verified on my system, works fine in both IE7 and IE8, do you have some CSS that is conflicting the output maybe?
http://ezrims4rent.com/home/rims/american-racing
this is the sample works fine on all other browsers but not no IE7 and IE8, i even tried installing next gen, gallery plugin and some others…
Add
DL { display: inline-block; }
to your CSS and it will make it work for IE’s
It’s not media.php’s fault that your CSS is causing the failure in IE7 and IE8, it’s the theme’s CSS doing it.
SAWEET!!!!
thanks for your time and help!