*

questions

  • *****
  • 319 posts
Detail view on homepage
« on: March 10, 2023, 05:52:52 PM »
Hi

Can someone tell how can we have detail view of listings on homepage?

Thank you

*

MB Themes

Re: Detail view on homepage
« Reply #1 on: March 10, 2023, 07:39:17 PM »
It should be just about class on wrapper div (grid / list / detail)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Detail view on homepage
« Reply #2 on: March 11, 2023, 08:09:52 AM »
I will check and let you know. Thank you.

Edit: can you detail What needs to be replaced please?
« Last Edit: March 11, 2023, 08:30:28 AM by questions »

*

MB Themes

Re: Detail view on homepage
« Reply #3 on: March 11, 2023, 12:44:06 PM »
Class.
There should be class="products grid" on main.php and needs to be class="products detail" ... Or list.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Detail view on homepage
« Reply #4 on: March 11, 2023, 10:13:07 PM »
Ok it work but you did not get it. I want to "product grid" only when on mobile :) not even tablet. only mobile.

*

questions

  • *****
  • 319 posts
Re: Detail view on homepage
« Reply #5 on: March 13, 2023, 10:03:54 AM »
Hi can this be done only while on mobile?

Thanks

*

MB Themes

Re: Detail view on homepage
« Reply #6 on: March 13, 2023, 04:04:52 PM »
@questions
No until you can identify mobile device using PHP.
When you have reliable piece of code, you could put class into condition.

Alternative is to have 2 blocks.
One has class isDesktop and another one isMobile isTablet .... so only 1 is visible at same time.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots