/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Style product categories list on archive pages */
#tt_cats_cols_x3 .product-categories {
    list-style: none;
    column-count: 3;
}

/* Style product categories list on mega menu */
#tt_cats_cols_x1 .product-categories {
    list-style: none;
	padding: 0;
}

.menu a,
.menu-item a,
.main-navigation a,
nav a,
ul.menu li a,
ul.nav-menu li a {
  font-family: 'Orbitron', Arial, sans-serif !important;
}

/* Style footer menu on mobile */
@media screen and (max-width: 767px){
	.tt-footer-menu .jet-custom-nav__item-link{
		text-align: center;
	}
	.tt-footer-menu .jet-custom-nav__item-link .jet-menu-link-text{
		margin: auto;
	}
}

/* Fix single product title not displaying */
.elementor-location-single .product_title, .elementor-location-single .elementor-widget-wrap>.elementor-element {
	display: inline-block
}


function toilet_suite_inclusions_display{
	<?php if( have_rows('toilet_suite_inclusions') ): ?>
 
    <ul>
 
    <?php while( have_rows('toilet_suite_inclusions') ): the_row(); ?>
 
        <li>tsi_name = <?php the_sub_field('tsi_name'); ?>, tsi_description = <?php the_sub_field('tsi_description'); ?>, etc</li>
        
        <?php 
        
        $sub_field_2 = get_sub_field('tsi_description'); 
        
        echo #sub_field_2
        
        ?>
        
    <?php endwhile; ?>
 
    </ul>
 
<?php endif; ?>
	
}

add_shortcode( 'tsi', 'toilet_suite_inclusions_display' );


