Home › Forums › WoodMart support forum › How to align sidebar (product filter) with product grid on category page?
How to align sidebar (product filter) with product grid on category page?
- This topic has 5 replies, 2 voices, and was last updated 3 years, 8 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 17, 2020 at 7:28 am #211857
DukamalabuhaderParticipantHello,
I’ve noticed that using some lengthier category description on the category page will result in a quite weird layout, see attached screenshot. The product filter will be detached from the product grid. Is there a way to use a full-width category description and “push” the filter downwards to be aligned with the product grid?
Thanks in advance!
Regards.Attachments:
You must be logged in to view attached files.July 17, 2020 at 10:34 am #211914
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshot you attached. Sorry but there is no such option. If we try using CSS then the sidebar of the shop page and other categories pages will move down as well.
If you still want the CSS then you can try adding the following Custom CSS in the Custom CSS for Desktop area under Theme Settings >> Custom CSS at your own risk.
.sidebar-container { margin-top: 37%; }
.term-description { margin-left: -35%; }
Best Regards.
July 17, 2020 at 3:54 pm #211997
DukamalabuhaderParticipantThanks for the reply.
Negative margin left indeed expands the description, but moving the sidebar down only works for a certain page width, i.e. for the corresponding height of the category description area. Once I set a different page width the description area adjusts its height to acomodate the text and the layout gets broken again.
Actually I was hoping that there could be some PHP template tweak to achieve this.Regards.
July 18, 2020 at 6:13 am #212051
Aizaz Imtiaz AwanKeymasterHello,
As I mentioned in my previous reply that you can test the code of your own it might disturb the other things.
Sorry but we could not help you with this as you are asking for core file customization that are beyond limitations and theme support scope.
Best Regards.
August 9, 2020 at 2:00 pm #217446
DukamalabuhaderParticipantHello,
you might be calling it a customization, for me it is a bug.
The layout is simply put broken, as the filter has no meaningful function next to the category description and belongs right next to the product grid.
Hope this bug will be addressed with some of the theme updates in the near future.Thanks.
August 10, 2020 at 6:18 am #217514
Aizaz Imtiaz AwanKeymasterHello,
It’s not a bug it is set as the default behavior because the sidebar has its own width set. So the page content won’t take its width as well.
Thank You So much for notifying, We will consider adding options for this in the near future update of the theme but not promise that the option will be added.
Regard’s.
Xtemos Studio. -
AuthorPosts
Tagged: category page, layout
- You must be logged in to create new topics. Login / Register