Product layout on frontpage

More
4 years 5 months ago #45990 by maurizio
Hi all,
I'm trying to set the layout of products in the frontpage view (now has 3 products each row) in order to be like the layout of the categories (2 products in a row).
Any setting I try is uneffective... Currently I've set the "Default number of products in a row=2" but the homepage shows anyway rows of 3 products.

This is to avoid
Anyone can help me to find how to change it?

Many thanks
Maurizio
Attachments:

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

More
4 years 5 months ago #45992 by milos
Replied by milos on topic Product layout on frontpage
Hi,

Go to VirtueMart > Configuration > Templates. Under "VirtueMart Home Page Settings" change "Default number of products in a row" parameter to 2.

Open /templates/hot_drug_store/css/template_css.css file and before line
/*--------------RESPONSIVE TOP MENU----------------*/

add this:
.featured-view div.product {
    min-width: 380px;
}

Regards

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

More
4 years 5 months ago #45993 by maurizio
Hi Milos,
thenks for your reply.

I've done correction as suggested. The images are larger but still the number per row is 3; as you can see in attached image, each row has its 3rd item below.

Any further suggestion?

Best regard

Maurizio
Attachments:

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

More
4 years 5 months ago #45994 by milos
Replied by milos on topic Product layout on frontpage
Is it the front page? My instructions was for the front page. if you want to have 2 columns on category pages as well, change above code with:
.featured-view div.product, .browse-view div.product {
    min-width: 380px;
}

Regards

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

More
4 years 5 months ago #45995 by maurizio
Hi Milos,
I guess there is a misunderstanding.
I'am referring to the front page (the category pages are already set to 2 columns).
On the front page, as you can see in the attached image, after having done all changes as your suggestion, the layout shows groups of 3 items, 2 on the first line and one on the following...

If I am not clear enough, I can send the link where you can see the problem I am referring to.

Best regards

Maurizio

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

More
4 years 5 months ago #45996 by milos
Replied by milos on topic Product layout on frontpage
Yes, please send the link and also include a screen shot of your VM configuration.

Thanks
The following user(s) said Thank You: maurizio

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

Moderators: milos
Time to create page: 0.111 seconds