- This topic has 11 replies, 3 voices, and was last updated 3 years, 9 months ago by Tom.
August 15, 2018 at 9:11 am #649405Gian
After the update and migration from Hooks to the new Elements, I noticed an issue with one of my hooks, added to display Yoast breadcrumbs.
If you check breadcrumbs on categories page, you’ll see that is not aligned with the other content of the page, while in blog posts, the breadcrumb is aligned.
How to fix the problem in categories pages and have the same alignment as in blog posts like before the migration?
Thank you in advance!GP Premium 1.7August 15, 2018 at 9:26 am #649432LeoStaffCustomer SupportAugust 15, 2018 at 9:29 am #649436Gian
Sure, caching plugin disabled!
I’m using the hook called “Yoast Breadcrumb”.
Please let me know if you need anything else.August 15, 2018 at 9:36 am #649448LeoStaffCustomer Support
Sorry you selected Yoast Breadcrumb under the hook dropdown list?
Can you disable autopimize as well?August 15, 2018 at 9:39 am #649455Gian
I selected the hook before_main_content.August 15, 2018 at 9:40 am #649458TomLead DeveloperLead DeveloperAugust 15, 2018 at 9:41 am #649461LeoStaffCustomer SupportAugust 15, 2018 at 9:46 am #649469Gian
Thanks Tom, with priority 1 the issue has been fixed! What is exactly the function of the priority option?
Leo, I disabled Autoptimize if you need to check something.August 15, 2018 at 9:47 am #649472TomLead DeveloperLead Developer
The columns container was throwing it off. That container is added to the same hook, so by giving your breadcrumbs a lower priority, it outputs the HTML before the columns container (which has a higher priority).August 15, 2018 at 9:54 am #649488LeoStaffCustomer SupportAugust 15, 2018 at 9:56 am #649493Gian
Ok thanks for your help!August 15, 2018 at 9:57 am #649498
- You must be logged in to reply to this topic.