× Discussion about "eCommerce" VirtueMart/Joomla template

right-to-left Layout of products in category page

More
4 years 2 months ago #40660 by Effect
Hi,

I'm building a website using hot ecommerce.
The website is right-to-left (Hebrew).
The problem is that on a category page, the products (or categories) are aligned to the left.
For example If i have 5 products in a 3 in a row configurations. The second row will show 2 products aligned to the left instead of to the right.
Is there an easy fix for this in the code somewhere?

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #40676 by Effect
I managed to fix the product display problem by editing /public_html/templates/hot_ecommerce/html/com_virtuemart/category/default.php

I changed line 207 from:
<div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
to:
<div class="product floatright<?php echo $Browsecellwidth . $show_vertical_separator ?>">

But that didn't solve the categories display, any ideas?

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #40683 by ivan.milic
Send link so we could see

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #40692 by Effect

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #40698 by ivan.milic
Add this to template_css.css:

.category-view .row .category .spacer h2 a {
text-align: right;
}

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #40717 by Effect
That didn't change anything....

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.124 seconds