View Single Post
  #454  
Old 03-03-2014, 07:14 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
Is there a way to make an image responsive & have it centered?

Sure, add this CSS to skin/reboot/css/reboot.css ... (if it's not there already)
Code:
.img-center { margin: 0 auto; }
Then add...
Code:
class="img-responsive img-center"
...to your images.

You can also make use of the Bootstrap class .center-block but I prefer this method.
__________________
xcartmods.co.uk
Reply With Quote