Hello,
Thank you for contacting us, and sorry for any inconvenience that might have been caused due to that.
The code you’re entering, it’s style.css file not single.php file.
If you want to show in pages, then the code should go to content-page.php (https://i.rankmath.com/i/xKAPAy)
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.
Thank you.
Hello,
I added Rank Math Breadcrumb code to Style.css file but nothing changed.
https://prnt.sc/QdtSOQ0dxBKr
What should I do?
Best Regards,
Alper
Hello,
Please add the code to content-page.php file. Please refer to the image : https://i.rankmath.com/i/xKAPAy
Let us know how this goes.
Thank you.
Hello,
It doesn’t work 🙁
https://prnt.sc/cLTSeZRgV3T_
It only appeared in homepage, not worked other pages.https://prnt.sc/CksP1_3WqxUY
justhowto.net
Best Regards,
Alper
Hello,
The code should be added in header.php or single.php file to add the breadcrumbs to your GeneratPress theme.
If you’re getting an error, please try adding the code without the PHP opening and closing tag:
if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs();
If you’re still unable to apply the breadcrumbs, then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Thank you.
Hello,
Thanks for your reply. Yesterday Mr. Kumar said “first add the code in style.css, then content-page.php” but it didn’t work.
I add the code in header.php and the result is better, but I think it should be under the logo, not above it.
https://prnt.sc/beCICbfpxjqU
How can I change the location of breadcrumb?
Best Regards,
Alper
Hello,
You can contact the support folks from GeneratePress as they are more familiar with their own theme’s structure.
Or, you can share your WP login with us so we could try applying the breadcrumbs code in the desired location.
Looking forward to helping you with this one.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.