Post by Khal » Thu Dec 18, 2014 10:48 pm

My store is set to display Grid view on the category page as default. But on this view, the ratings stars partially display above the image. I would like them to display below the product name, like they do on List view.
I have looked at the css and the code is the same, and in the same place as the List view.

I have a custom theme, but I've checked in the css for the default theme, and it's the same code.

Do I need to change something in a different file? Like template/product/category.tpl

I have OC v1.5.6.1
Here is the link to a category page: http://khaleejiabaya.com/khaleeji-abayas

I would really appreciate any help to resolve this.

Thanks in advance

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK

Post by imdevlper18 » Fri Dec 19, 2014 2:44 pm

Add this for class rating in stylesheet.

Code: Select all

position: absolute;
bottom: 7px;
z-index: 190;
height: 42px;
Help: imdevlper18@gmail.com

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm

Post by Khal » Fri Dec 19, 2014 9:34 pm

Thank you for that code- with a little tweaking that works perfectly. But I can't get the stars to center. I have tried adding:

Code: Select all

float: center;
and

Code: Select all

text-align: center;
But neither of these center the star ratings- they stay on the left. How do I get them to center?

Many thanks for your help

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: No registered users and 14 guests