Product layout on frontpage

  • maurizio
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 2 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 to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
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
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
  • Member
More
9 years 2 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 to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
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:
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
  • Member
More
9 years 2 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 to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 years 2 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 to join the conversation.

Time to create page: 0.289 seconds
Powered by Kunena Forum