/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.17.0
Requires at least:    5.4.0
Requires PHP:         5.6.20
WC requires at least: 4.7.0
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
function breadcrumb_custom() {
    if ( ( !is_front_page() && is_page() )  is_category()  is_singular('post') ) { ?>
        <div class="page-title shop-page-title product-page-title">
            <div class="page-title-inner flex-row medium-flex-wrap container">
                <div class="flex-col flex-grow medium-text-center" style="font-size:15px; font-weight:normal;">
                    <?php echo do_shortcode('[rank_math_breadcrumb]'); ?>
                </div>
            </div>
        </div>
    <?php }
}
add_action('flatsome_after_header','breadcrumb_custom');