WordPress.org

Ready to get started?Download WordPress

Forums

Yoast Breadcrumbs
[resolved] Yoast SEO plugin: How to align breadcrumbs in header (3 posts)

  1. jrtops
    Member
    Posted 2 years ago #

    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/

  2. jrtops
    Member
    Posted 2 years ago #

    So my main question is...what code could I add to make more white space appear at the end of the breadcrumb?

  3. jrtops
    Member
    Posted 2 years ago #

    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>');
    } ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic