• Resolved Hamed Azimi

    (@dadparvar)


    Currently the separator in the breadcrumb is added as a “::after”‘s content attribute. Which, assuming we give a little bit of style to the breadcrumb, the result will look like this:
    https://ibb.co/r5DTp1Y

    as you can see, the “?” which is the separator, is stuck to the element and is not a separate/standalone element/tag for itself.

    In order to give us a better option and flexibility in the styling of the breadcrumb, please change this and make it a separate element. (just like how Yoast SEO has it as a separate <span> tag)

    The result will be:
    https://ibb.co/P1xb594

    In case you have no plan to make this change soon, would you mind sharing a snippet that applies this change, please?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @dadparvar,

    Thank you for contacting the support.

    We do not add the Breadcrumb separator using pseudo-element (:before or :after).

    The Rank Math Breadcrumbs wrapper has a class rank-math-breadcrumb. Please confirm the Breadcrumbs on your site are added by the Rank Math plugin.

    Here is a screencast from our site showing the separator added in a separate element:
    https://i.rankmath.com/BJypa6

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Breadcrumb Separator as a standalone element’ is closed to new replies.