<div class="featured-boxes-wrap">
<div class="featured-box-area">

    <?php if(get_theme_mod('appetizo_promo1_title') || get_theme_mod('appetizo_promo1_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo1_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo1_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo1_image')) { echo esc_url(get_theme_mod('appetizo_promo1_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo1_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo1_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo2_title') || get_theme_mod('appetizo_promo2_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo2_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo2_url')); ?>" class="featured-box-link">
    <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo2_image')) { echo esc_url(get_theme_mod('appetizo_promo2_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo2_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo2_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo3_title') || get_theme_mod('appetizo_promo3_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo3_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo3_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo3_image')) { echo esc_url(get_theme_mod('appetizo_promo3_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo3_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo3_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo4_title') || get_theme_mod('appetizo_promo4_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo4_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo4_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo4_image')) { echo esc_url(get_theme_mod('appetizo_promo4_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo4_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo4_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo5_title') || get_theme_mod('appetizo_promo5_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo5_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo5_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo5_image')) { echo esc_url(get_theme_mod('appetizo_promo5_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo5_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo5_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo6_title') || get_theme_mod('appetizo_promo6_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo6_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo6_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo6_image')) { echo esc_url(get_theme_mod('appetizo_promo6_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo6_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo6_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo7_title') || get_theme_mod('appetizo_promo7_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo7_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo7_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo7_image')) { echo esc_url(get_theme_mod('appetizo_promo7_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo7_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo7_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>

    <?php if(get_theme_mod('appetizo_promo8_title') || get_theme_mod('appetizo_promo8_image')) : ?>
    <?php if(get_theme_mod('appetizo_promo8_url')) : ?><a href="<?php echo esc_url(get_theme_mod('appetizo_promo8_url')); ?>" class="featured-box-link">
        <div class="featured-box-item" style="background-image:url(<?php if(get_theme_mod('appetizo_promo8_image')) { echo esc_url(get_theme_mod('appetizo_promo8_image')); } else { echo esc_url(get_template_directory_uri() . '/images/slider-default.png'); } ?>)">


        </div>
            <div class="featured-box-overlay">
                <?php if(get_theme_mod('appetizo_promo8_title')) : ?>
                    <h4><?php echo esc_html(get_theme_mod('appetizo_promo8_title')); ?></h4>
                <?php endif; ?>
            </div>
            </a><?php endif; ?>
    <?php endif; ?>


</div>
</div>