custom styling markup for breadcrumbs possible?

#259512
  • Resolved Josh Hinden
    Rank Math free

    I’d like to edit/use my own breadcrumb markup. Is it possible using your plugin via php? I’d like to edit the styles and structure of the layout. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Unfortunately, our plugin can’t customize the breadcrumbs. You may need to modify the appearance of the breadcrumbs using CSS. Please use this class as your selector:

    .rank-math-breadcrumb

    As for the “Layout”, could you please further explain what would you like to achieve in terms of your breadcrumb’s layout?

    Looking forward to helping you with this one.

    Thanks Jeremy, I”m just looking into SEO plugins and was also looking at breadcrumbs. I’m going to style my breadcrumbs and make a couple different breadcrumb layout modules in ACF inserted on a page by page basis. So I was hoping I could get at the markup somehow to handle flex behavior and styling. I suppose if it can be done with css as well that might work out, though will be easier if I had the markup considering that styling will change depending on which layout is used on a given page.

    Will write my own breadcrumbs I think. Just worried that I’ll lose some benefit by doing it that way unless I can sort out the schema stuff which I know nothing about.

    Anyways, will be back to evaluate using this plugin for SEO in the future when I get there on this project. Looks nicer than yoast. 😉

    Ankit
    Rank Math business

    Hello,

    We do have filter which can help you to modify the behaviour of the breadcrumbs feature and you can also customize it.

    Please refer to below link for the filters code:
    https://rankmath.com/kb/filters-hooks-api-developer/#breadcrumbs

    Hope that helps. Thank you.

    Cheers, thank you Ankit. Will check that out

    Azib Yaqoob
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.