WordPress.org

Ready to get started?Download WordPress

Forums

RDFa Breadcrumb
[resolved] Quick Question Re: Sizing (5 posts)

  1. lindaloustarr
    Member
    Posted 2 years ago #

    I enjoy how simple this is - thank you :) I'm wondering how to adjust the padding or margin - the navigation menu creates a little too much space underneath the navigation - see what I mean at this post http://lindaloustarr.com/blog/reclaim-the-awareness-you-were-born-with/ - see how much space is in between from the top of the container where the breadcrumb nav is to the top of the content area - I would like to be able to adjust this in your style.css but not sure what to tweak there :)

    Thank you for your kind reply, you are greatly appreciated.
    Linda Lou

    http://wordpress.org/extend/plugins/rdfa-breadcrumb/

  2. Nitin Yawalkar
    Member
    Plugin Author

    Posted 2 years ago #

    Try adding the below code into your themes CSS:

    /*Breadcrumbs*/
    #breadcrumbs{
    	padding-top: 10px;
    	margin-bottom: -25px;
    }

    And now, add replace the default breadcrumb short code with the following:

    <div id="breadcrumbs">
    	<?php if(function_exists('rdfa_breadcrumb')){
    		rdfa_breadcrumb();
    	} ?>
    </div>

    You may now adjust the look and feel of your breadcrumb by editing the CSS above.

  3. lindaloustarr
    Member
    Posted 2 years ago #

    Thank you so very much. One more question since I just learning php
    what file (php) do I put the second code (shortcode) into?
    Linda Lou

  4. Nitin Yawalkar
    Member
    Plugin Author

    Posted 2 years ago #

    You just need to put the second shortcode into the following files to enable breadcrumbs :

    • single.php
    • search.php
    • archive.php
    • author.php

    If you are enjoying this plugin, please rate this with 5* and vote it as "works".

  5. lindaloustarr
    Member
    Posted 2 years ago #

    Thank You! This works great! I voted :)
    Linda Lou

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic