WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Yoast SEO plugin: How to align breadcrumbs in header

[Resolved] Yoast SEO plugin: How to align breadcrumbs in header

  • I have managed to get my breadcrumbs aligned to the right like I want in the header, but they are too close to the grey border in my blog. I want them to stay aligned right but at the end of the breadcrumb I want some white space. Here is my blog http://www.buildstrength.org/blog/

    Here is the code I have used in header.php

    ‘<?php if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb(‘<p align=”right” id=”breadcrumbs”>’,'</p>’);
    } ?>’

    http://wordpress.org/extend/plugins/breadcrumbs/

Viewing 2 replies - 1 through 2 (of 2 total)
  • So my main question is…what code could I add to make more white space appear at the end of the breadcrumb?

    I found a way, though it may not be the most efficient. I just added &nbsp;

    here’s my new code…

    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p align="right" id="breadcrumbs">','&nbsp;&nbsp;&nbsp;&nbsp;</p>');
    } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Yoast SEO plugin: How to align breadcrumbs in header’ is closed to new replies.