How to center the category listing

  • Posts: 97
  • Thank you received: 1
  • Hikashop Essential
1 year 3 months ago #348985

-- url of the page with the problem -- : goldfieldfireworks.com/index.php/our-fireworks
-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.7
-- PHP version -- : 8.1.14
-- Browser(s) name and version -- : Firefox 78.15.0esr

In the screen shot, the categories listing is not centered on the page, it is on the left. This categories list is from a menu item that shows categories and products. Is there some custom CSS I can add, which will make the categories listing be in the center of the page?

Thank you

Attachments:

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

  • Posts: 81716
  • Thank you received: 13107
  • MODERATOR
1 year 3 months ago #348994

Hi,

You can add such CSS to do this:

li.hikashop_category_list_item {
    width: 25% !important;
    margin-left: 21%;
}

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

  • Posts: 97
  • Thank you received: 1
  • Hikashop Essential
1 year 3 months ago #349061

Thank you Nicolas!

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

Time to create page: 0.071 seconds
Powered by Kunena Forum