Home Forums WoodMart support forum How to integrate RankMath breadcrumbs in to theme?

How to integrate RankMath breadcrumbs in to theme?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #646981

    ya.predko
    Participant

    How to integrate RankMath breadcrumbs in to child theme using this manual
    Next, you should add the following code to the appropriate location in your theme’s template file to display the breadcrumbs.

    /**
     * Use the following code in your theme template files to display breadcrumbs:
     */
    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>

    Note: Depending upon the theme you use, the theme file where you should add the breadcrumbs function would vary.

    ?

    #646983

    ya.predko
    Participant

    Ok, i do this by this instruction
    You need to copy the file woocommerce/global/breadcrumb.php from the parent theme and add it to the child theme and on line 14 add the following code https://monosnap.com/file/qodfeNwVQpaXb9EEfQiRjQM6M3gAnF

    But now i need a horizontal scroll bar for breadcrumbs like in theme by default

    #647108

    Luke Nielsen
    Keymaster

    Hello,

    Try to add the code below in Theme Settings -> Custom CSS.

    .rank-math-breadcrumb {
        overflow-x: auto;
    }

    Clear the cache and check how it works.

    Kind Regards

    #647381

    ya.predko
    Participant

    Its working, thanks

    #647543

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot.

    Have a good day!

    Kind Regards

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to integrate RankMath breadcrumbs in to theme?’ is closed to new replies.