- This topic has 5 replies, 2 voices, and was last updated 2 years, 9 months ago by Andrew Misplon.
- June 8, 2020 at 1:24 pm #14551
Good 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
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
Thanks 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
Sure, 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/loops/loop-blog.phpJune 8, 2020 at 5:52 pm #14557
Thanks for the guide Andrew … I already use a child theme … the files you sent me, in which directory should I put them?
CheersJune 8, 2020 at 6:27 pm #14558
If you’re editing existing theme files from within a child theme they should go in the same relative location so
archive.phpgoes in your child theme root folder and
loop-blog.phpgoes into a folder called
loopsin 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
You must be logged in to reply to this topic.