[Resolved] Breadcrumbs style

Home Forums Support [Resolved] Breadcrumbs style

Home Forums Support Breadcrumbs style

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #341976
    Espresso

    Hi Tom,

    I have set up Yoast breadcrumbs and they work fine (I used the code you gave to another guy and added it to the hook “before header”.

    However, as you can see…it has inherited all the style and background of the TOP header.

    I would like to set a full width background and style them making the height thinner etc…

    Any advice?

    Here is the page:

    https://www.espressotranslations.com/professional-translation-services/

    Thanks a lot for your support.

    Dan

    #342028
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try removing this class from the breadcrumb container: page-header

    #342033
    Espresso

    This is what I have now:

    <?php if ( ! is_front_page() ) : ?>
    <?php if ( function_exists(‘yoast_breadcrumb’) ) { ?>

    <?php yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’); ?>

    <?php } ?>
    <?php endif; ?>

    BUt the breadcrumb doesn’t show anymore…

    https://www.espressotranslations.com/professional-translation-services/

    #342038
    Tom
    Lead Developer
    Lead Developer

    They’re hidden behind your sticky header.

    You might need to adjust your CSS to this:

    .custom-fixed-header + * {
        padding-top: 170px;
    }
    #342042
    Espresso

    That works, thanks. However, now on the home page, you can see the grey line:

    https://www.espressotranslations.com/

    Sorry for keeping bothering you!

    #342061
    Espresso

    Sorted!

    I added some padding to them and reduced the hight of the fixed header ๐Ÿ™‚

    Thanks for your help!
    Dan

    #342320
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working ๐Ÿ™‚

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