Page 1 of 1

breadcrumbs above sidebar...

Posted: 24 Apr 2013, 05:56
by Connie
Hi, I am back, starting a new installation with Suffusion... and I discover a lot of the features which I didn't use before...

I hope all of you are well and happy!

now I have one problem with the minima skin:

1) mostly I have 2 sidebars, 1 left and 1 right
2) some pages have only 1 sidebar at the right.

In that case, the breadcrumbs start at the left of the content region, as the content starts there. On pages with left sidebars the breadcrumbs start right of that sidebar.

I want the breadcrumbs on the whole width , with or without sidebars as I have quite some levels of content and by that the breadcrumb list is long.

How can I place the breadcrumbs into the widget area below navigation bar, for example? Any hints?

Cheers. Connie

Re: breadcrumbs above sidebar...

Posted: 24 Apr 2013, 12:09
by petervanderdoes
Create a child theme.

In the functions.php of the child theme add the following code:

Code: Select all

add_action( "after_setup_theme", "suffu_scion_theme_setup", 15 );

/**
 * Use this function to add/remove hooks for Suffusion's execution, or to
 * disable theme functionality
 */
function suffu_scion_theme_setup()
{
    remove_action( 'suffusion_before_begin_content', 'suffusion_build_breadcrumb' );
    add_action( 'suffusion_after_begin_wrapper', 'suffusion_build_breadcrumb' );
}

Re: breadcrumbs above sidebar...

Posted: 24 Apr 2013, 12:19
by petervanderdoes
Create a child theme

In the functions.php of the child theme add the following code:

Code: Select all

add_action( "after_setup_theme", "suffu_connie_theme_setup", 15 );

function suffu_connie_theme_setup()
{
    remove_action( 'suffusion_before_begin_content', 'suffusion_build_breadcrumb' );
    add_action( 'suffusion_after_begin_wrapper', 'suffusion_build_breadcrumb' );
}
You might need to do some CSS tweaking after that, but that's about it.

Re: breadcrumbs above sidebar...

Posted: 25 Apr 2013, 01:04
by Connie
can nobody give me a hint?

Re: breadcrumbs above sidebar...

Posted: 25 Apr 2013, 01:29
by drake
Hi Connie. I'm sorry, I don't know an easy method. The only way I can see is by using jQuery to move the breadcrumbs out of main-col, but I can't tell you how to do that without seeing the site.

Re: breadcrumbs above sidebar...

Posted: 25 Apr 2013, 09:35
by Connie
Hi Drake,

so it seems there is no "built-in" way to acchieve this. Never mind, I included a breadcrumb-function into the php-able widget and added that into the widget-area...

so I got my solution.

Thanks for your answer,

cheers, Connie