Home › Forums › WoodMart support forum › Line break between category grid and products
Line break between category grid and products
- This topic has 7 replies, 2 voices, and was last updated 5 years ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 5, 2019 at 12:34 pm #161290
Jelly ITParticipantHey guys,
When displaying categories and products together it puts them all together(See screenshot). Is there a way move the products down 1 line? To see that there is a difference between the category blocks and the products?
Attachments:
You must be logged in to view attached files.December 5, 2019 at 2:02 pm #161325
Aizaz Imtiaz AwanKeymasterHello,
As you have displayed the products and sub-categories as well in the product category page. There is no such option to move the products down 1 line. It requires customization and this is beyond our limitations and support policy.
Best Regards.
December 12, 2019 at 7:45 am #162869
Jelly ITParticipantThis looks horrible and the customers will not be able to tell the difference between categories and products. Is there no way to show the difference between the categories and products? Either start the products on a new line or show a solid line under categories.
Is there no way to make this look better? It looks shocking.
December 12, 2019 at 10:54 am #162898
Aizaz Imtiaz AwanKeymasterHello,
Currently there is no such option in theme settings to display the difference between the categories and products.
WooCommerce has products and categories as a part of the same loop and unfortunately, there is no option to separate them now. We will consider such an improvement for our future updates.
Best Regards.
March 12, 2020 at 11:23 am #179528
Jelly ITParticipantHere is a fix for this issue. Just insert this into the On document ready section of the Custom JS section in woodmart settings.
jQuery(‘<div style=”clear: both;vertical-align: bottom;width: 100%;height: 5px;”></div>’).insertAfter(‘.category-grid-item:last’);
Attachments:
You must be logged in to view attached files.March 12, 2020 at 11:58 am #179542
Aizaz Imtiaz AwanKeymasterHello,
Sounds really great!!..
It means your issue is resolved right?
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Best Regards.
April 22, 2020 at 8:23 am #189087
Jelly ITParticipantYes this solves it. Here is a better piece of code which avoids putting it on the home page as well. It will only put it on category showcase pages.
if( jQuery(‘body.archive’).length){
jQuery(‘<div id=”wd-5e90322a7d8e8″ style=”width: 100%; border-color: rgba(232, 232, 232, 1); border-bottom-width: 1px; border-bottom-style: solid; border-top-width: 1px; border-top-style: solid;” class=”title-wrapper woodmart-title-color-default woodmart-title-style-default woodmart-title-width-100 text-center woodmart-title-size-medium “><div class=”liner-continer”><span class=”left-line”></span><h4 class=”woodmart-title-container title woodmart-font-weight-“>PRODUCTS</h4><span class=”right-line”></span></div></div>’).insertAfter(‘.category-grid-item:last’);
}April 22, 2020 at 10:01 am #189110
Aizaz Imtiaz AwanKeymasterHello,
We are Glad that you found the solution by yourself. You are Great!!
Your solution might become useful for someone else.
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Line break between category grid and products’ is closed to new replies.
- You must be logged in to create new topics. Login / Register