- Posts: 48
- Thank you received: 1
How to hide pagination on homepage of site
9 years 3 months ago #272899
by 41global
How to hide pagination on homepage of site was created by 41global
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
Hey There,
I am using Product Listing as my site home menu, products are showing 100% fine but they are all showing instead of just 20. I am wanting the latest 20 to show on the homepage only and no pagination options at all. Is it possible at all to hide the pagination at bottom of homepage and only show 20 items?
Thanks N Advance
-- Joomla version -- : 3.7.2
Hey There,
I am using Product Listing as my site home menu, products are showing 100% fine but they are all showing instead of just 20. I am wanting the latest 20 to show on the homepage only and no pagination options at all. Is it possible at all to hide the pagination at bottom of homepage and only show 20 items?
Thanks N Advance
Please Log in or Create an account to join the conversation.
9 years 2 months ago - 9 years 2 months ago #272935
by Philip
Replied by Philip on topic How to hide pagination on homepage of site
Hello,
If you have more than 20 products to display, pagination will be automatically displayed, from this I see 2 solutions :
1°) You create a "special" category with only the 20 products you want displayed, and you define your listing with this specific category
2°) Or if first solution isn't the good one, you can define to display only 20 products per page in Products options tab and in Items part, like this :
AND use some Frontend css command to remove the pagination, something like this :
Note : Have a look to this tutorial to see how to proceed.
Hope this will help you.
Regards
If you have more than 20 products to display, pagination will be automatically displayed, from this I see 2 solutions :
1°) You create a "special" category with only the 20 products you want displayed, and you define your listing with this specific category
2°) Or if first solution isn't the good one, you can define to display only 20 products per page in Products options tab and in Items part, like this :
AND use some Frontend css command to remove the pagination, something like this :
Code:
.hikashop_category_information_menu_ID .pagination_class {
display: none;
}
Note : Have a look to this tutorial to see how to proceed.
Hope this will help you.
Regards
Last edit: 9 years 2 months ago by Philip.
Please Log in or Create an account to join the conversation.
9 years 2 months ago #273134
by 41global
Replied by 41global on topic How to hide pagination on homepage of site
Thanks so much for response Phillip! Is there any other possible options at all? Going the new category route would require me to have to add/remove 20 different products each time I add new products to the site. Adding the script would mean pagination would be hidden on other pages instead of just the homepage which I don't want. thanks agin
Please Log in or Create an account to join the conversation.
9 years 2 months ago #273184
by nicolas
Replied by nicolas on topic How to hide pagination on homepage of site
Hi,
The alternative is to not use a HikaShop products/categories listing menu item but a menu item like a Joomla article and then configure a HikaShop content module in order to display your products/categories on that menu item. Modules don't have pagination.
Also, with the CSS solution from Philippe, you specify the menu item id in the CSS so it will only affect the homepage, not the other categories/products listing menu items.
The alternative is to not use a HikaShop products/categories listing menu item but a menu item like a Joomla article and then configure a HikaShop content module in order to display your products/categories on that menu item. Modules don't have pagination.
Also, with the CSS solution from Philippe, you specify the menu item id in the CSS so it will only affect the homepage, not the other categories/products listing menu items.
Please Log in or Create an account to join the conversation.
Time to create page: 0.215 seconds