Post by MWB-02 » Sat Apr 13, 2013 1:55 pm

Hello.

I have put the text align center in the .box-product >div but the name price and button don't line up in the middle. My image size is 190x272

Example image below

Attachments

module.jpg

Image Attachment - module.jpg (166.91 KiB) Viewed 2601 times


Active Member

Posts

Joined
Wed Feb 20, 2013 1:35 pm

Post by giannis » Sat Apr 13, 2013 2:03 pm

Hallo check the css file ...

Newbie

Posts

Joined
Sun Mar 24, 2013 6:46 pm

Post by MWB-02 » Sat Apr 13, 2013 4:02 pm

thats where I made the changes in css

Active Member

Posts

Joined
Wed Feb 20, 2013 1:35 pm

Post by Xyph3r » Sat Apr 13, 2013 6:28 pm

can you post the url of your website?

I believe that box-product > div width is lower than image width..

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by Nirus » Mon Apr 22, 2013 5:05 pm

<div align="center">((put all your buttons, cost, text inside this div tag.. it will align center))</div>

paste the code i will show u

Newbie

Posts

Joined
Tue Jan 22, 2013 2:09 am

Post by labeshops » Mon Apr 22, 2013 6:59 pm

It is centering them, but it looks like your div width is off for that section as they are not lining up with the images. Post your entire box-product css section and what the size of the images are set to (or a link to your store).

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by MWB-02 » Tue Apr 23, 2013 12:29 am

I worked it out

Active Member

Posts

Joined
Wed Feb 20, 2013 1:35 pm

Post by LuckyBhumkar » Fri Apr 04, 2014 10:29 pm

If you want to align center text content along with Add to cart button then you can use following extension,
http://www.opencart.com/index.php?route ... re%20align

Newbie

Posts

Joined
Thu Apr 03, 2014 11:04 pm
Who is online

Users browsing this forum: No registered users and 10 guests