- Posts: 26
- Thank you received: 0
Product layout on frontpage
-
maurizio
Inactive member - Topic Author
- Member
Less
More
9 years 2 months ago #45990
by maurizio
Product layout on frontpage was created 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
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
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
9 years 2 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
add this:
Regards
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
Code:
/*--------------RESPONSIVE TOP MENU----------------*/
add this:
Code:
.featured-view div.product {
min-width: 380px;
}
Regards
Please Log in to join the conversation.
-
maurizio
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
9 years 2 months ago #45993
by maurizio
Replied by maurizio on topic Product layout on frontpage
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
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
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
9 years 2 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:
Regards
Code:
.featured-view div.product, .browse-view div.product {
min-width: 380px;
}
Regards
Please Log in to join the conversation.
-
maurizio
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
9 years 2 months ago #45995
by maurizio
Replied by maurizio on topic Product layout on frontpage
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
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 to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
Time to create page: 0.289 seconds