how to center a single lightbox image? Posted in : Bloggy WP EloenParticipant 26 April 2014 at 04:08 #13767 I added this code: jQuery(document).ready(function($) { $(‘#primary.span7’).removeClass(‘span7’).addClass(‘span8’); $(‘#secondary.span5’).removeClass(‘span5’).addClass(‘span4’); }); …and a single lightbox image can no longer be positioned EXCEPT left-aligned. I tried adding this code: .lightbox { display: inline; } …but it didn’t work. How do I center a single lightbox image? Everything works fine except the position of the image. EloenParticipant 26 April 2014 at 16:53 #13773 Here’s an example – the image is ALWAYS left-aligned and I can’t center it: http://i.imgur.com/qcYK7NU.png EloenParticipant 26 April 2014 at 19:03 #13775 Hah! I got it! After increasing the body width and reducing the sidebar width with the JS code above, I added this shortcode to my lightbox images: [row][column width="1" offset="2"][/column][/row] Now it works great! I only need help with this one please – http://www.pixelwars.org/forums/topic/excerptread-more-tag-broken/ Mehmet S.Keymaster 1 May 2014 at 02:22 #13865 Ok. Good luck. Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in and have valid license to reply to this topic. License required for the following item Bloggy WP - Responsive Minimalist WordPress Themeby pixelwars Login and Registration Log in · Register