• I’d like to have breadcrumbs enabled for my site, the problem is they are showing up between the menu in the header (I’m using Ubermenu) and the slider images. I’d like to place them above the menu. Does anyone have an idea how I can go about this?
    Thanks in advance,
    Lynne

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter LynJon

    (@lynjon)

    I’m still desperately trying to find a solution for this problem. Studying the source code I think I need to find the file where the div breadcrumb-list is, remove it and then add it to the file that displays the header but I can’t find either. Anyone have any ideas please? The problem can be seen on https://www.watals.info
    Thanks

    hello lynee,
    The easier solution would be to go to the themes root directory => inc =>catchresponsive-breadcrumb.php => find and change the code from

    add_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 50 );

    to

    add_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 9 );

    To save your personal customization please use child theme (check here).

    Regards, bplv

    Thanks bplv for your support.

    To edit any theme files, please build child theme first. You shouldn’t edit any theme files directly, as when you update the theme, all your edits will be reverted back to original. So, to me safe always build child theme, you can download our sample child theme from https://catchthemes.com/blog/create-child-theme-wordpress/

    Then you can remove breadcrumb from current position by adding the following code in your child theme functions.php file

    // Remove breadcrumb from current position
    function unhook_catchresponsive_functions() {
        remove_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 50 );
    }
    add_action( 'init', 'unhook_catchresponsive_functions' );

    Then to add breadcrumb before menu, add the following code in your child theme functions.php file

    //Adding breadcrumb before menu
    add_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 9 );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breadcrumb’ is closed to new replies.