[Resolved] Breadcrumb color

Home Forums Support [Resolved] Breadcrumb color

Home Forums Support Breadcrumb color

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1145239
    _blank

    how can i change the color of the bread crumb to yellow

    #1145539
    David
    Staff
    Customer Support

    Hi there,

    how have you added the breadcrumb? Can you share the HTML being used as this may need changing.

    #1146433
    _blank

    i am using yoast breadcrumb.
    and a Header element where i have given this html-
    wpseo_breadcrumb
    <h1>
    {{post_title}}
    </h1>
    <p>
    [page_hero_gravatar] {{post_author}} | {{post_date}}
    </p>

    Here is the code i used to make little changes to breadcrumb-https://generatepress.com/forums/topic/how-to-hide-the-title-part-in-the-breadcrumb-im-using-yoast-seo/#post-614239

    #1146466
    Leo
    Staff
    Customer Support

    Is the wpseo_breadcrumb part a shortcode?

    If so wrap it in a div like this:
    <div class="hero-breadcrumb">wpseo_breadcrumb</div>

    Then add this CSS:

    .hero-breadcrumb {
        color: #000;
    }
    #1148352
    _blank

    yes wpseo_breadcrumb is the shortcode for Yoast breadcrumb.
    i tried to wrap it in a div like this:

    wpseo_breadcrumb

    But it did not work the breadcrumb got break and “wpseo_breadcrumb” was appearing in blogpost.

    #1148450
    Leo
    Staff
    Customer Support

    I’m not seeing my HTML structure being added.

    It shouldn’t cause any issues like that at all.

    Make sure you are still using a shortcode inside the <div>

    Let me know 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.