Home › Forums › WoodMart support forum › Center Alignment for Category Carousel with Fewer Items
Center Alignment for Category Carousel with Fewer Items
- This topic has 9 replies, 2 voices, and was last updated 9 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 19, 2024 at 8:13 pm #591065
jimfargParticipantWe are using the “Category Carousel” element on our shop page and have set it to display 5 items per view in a grid layout. However, when a category has fewer than 5 sub-categories to display, is it possible to center-align these items? For example, please see the attached screenshot—when viewing a category with 4 sub-categories, we would like these items to be centered, without the empty space on the right.
August 20, 2024 at 9:42 am #591170
Aizaz Imtiaz AwanKeymasterHello,
Could you please elaborate on your concern more with some useful Screenshots so that we can better understand and assist you accordingly of what you actually want.
Best Regards.
August 21, 2024 at 6:57 pm #591604August 22, 2024 at 9:57 am #591662
Aizaz Imtiaz AwanKeymasterHello,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Custom CSS for Desktop:
.wd-carousel-wrap, .wd-cats .products .woocommerce .columns-4 .wd-cats-element .wd-carousel-container { display: flex !important; justify-content:center !important; }
Best Regards.
August 22, 2024 at 2:43 pm #591795
jimfargParticipantCSS helped a lot, and it turned out as we wanted, but another bug has emerged. In categories with more than 5 items, the arrows for scrolling the carousel appear. However, it doesn’t stop correctly and leaves a large gap at the end. Please check the video
Attachments:
You must be logged in to view attached files.August 23, 2024 at 8:42 am #591940
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
August 23, 2024 at 10:44 am #591967
jimfargParticipantI attached
August 23, 2024 at 3:06 pm #592073
Aizaz Imtiaz AwanKeymasterHello,
Your given login details are not working. Please give me the correct login details of your site so I will check and give you the possible solution.
Best Regards.
August 23, 2024 at 3:11 pm #592077
jimfargParticipantSorry, now I attached the correct
-
This reply was modified 9 months ago by
Aizaz Imtiaz Awan.
August 24, 2024 at 2:07 pm #592238
Aizaz Imtiaz AwanKeymasterHello,
Please check it now after removing the browser cache.
I have made 2 changes, first I have edited the Layout >> Edit the Product category element >> from the carousel settings >> Enable the sider loop: https://ibb.co/wYKqBZz
Then secondly, I have adjusted the custom CSS code as I have given earlier.
Best Regards.
-
This reply was modified 9 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register