- This topic has 5 replies, 2 voices, and was last updated 4 years, 6 months ago by Andrew Misplon.
- AuthorPosts
- June 8, 2020 at 1:24 pm #14551
PontigoParticipantGood morning, I wanted to know if there is a possibility that the category page could be left Masonry. Thank you in advance for any guide that allows me to do so.
June 8, 2020 at 1:26 pm #14552
Andrew MisplonKeymasterHi Pontigo
Thanks for reaching out. I’ll hopefully add more blog layouts to Polestar soon. At the moment, the only solution that comes to mind is to perhaps try the Portfolio or Blog widget offered by Widgets for SiteOrigin and see if that can help.
June 8, 2020 at 1:50 pm #14554
PontigoParticipantThanks for your prompt response Andrew. Could you tell me where I change the structure of the category page?
June 8, 2020 at 4:55 pm #14556
Andrew MisplonKeymasterSure, no problem.
Creating a masonry layout for the category pages would be a custom development task requiring the enqueuing of a script and customization of the markup used. If you need a starter child theme for Polestar, you can find one here https://purothemes.com/documentation/polestar-wordpress-theme/child-theme-library/.
The archive page is setup as follows:
https://github.com/purothemes/polestar/blob/develop/archive.php
https://github.com/purothemes/polestar/blob/develop/loops/loop-blog.phpJune 8, 2020 at 5:52 pm #14557
PontigoParticipantThanks for the guide Andrew … I already use a child theme … the files you sent me, in which directory should I put them?
Cheers
June 8, 2020 at 6:27 pm #14558
Andrew MisplonKeymasterIf you’re editing existing theme files from within a child theme they should go in the same relative location so
archive.php
goes in your child theme root folder andloop-blog.php
goes into a folder calledloops
in your child theme.If you created your child theme yourself, take care that you aren’t enqueuing the parent stylesheet twice as Polestar uses a minified stylesheet. All that’s needed in the child theme is to enqueue the child
style.css
file https://github.com/purothemes/polestar-child/blob/master/functions.php. - AuthorPosts
You must be logged in to reply to this topic.