[Support request] Changing Yoast Breadcrumbs font size

Home Forums Support [Support request] Changing Yoast Breadcrumbs font size

Home Forums Support Changing Yoast Breadcrumbs font size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1345230
    Ben

    Hey guys,

    Is there a way to change the size of the font of Yoast’s breadcrumbs in GeneratePress?

    I read another article where Tom suggested the following code:

    #breadcrumbs {
    font-size: 14px;
    padding-bottom: 15px;
    }

    However, this hasn’t worked for me 🙁

    Thanks

    #1345283
    David
    Staff
    Customer Support

    Hi there,

    how are you adding the breadcrumb to your site?

    #1345357
    Ben

    Via hooks

    #1345360
    David
    Staff
    Customer Support

    If you use this function to call the breadcrumbs it will add the wrapper with the #breadcrumbs ID

    if ( function_exists('yoast_breadcrumb') ) {
            yoast_breadcrumb( '<div class="grid-container grid-parent"><p id="breadcrumbs">','</p></div>' );

    For reference:

    https://docs.generatepress.com/article/adding-breadcrumbs/#using-functions

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