• Hi,

    I am using swiftbiz-lite. The question applies to the website https://www.sophie-bruidsfotografie.nl. I am trying to generalize the featured box link to the images (e.g. fa-camera) or the complete box, but so far I am unsuccesful. The widget (featured box) allows to add a link, but when added the link only applies to the h4 title of the box, not the complete box.

    Thanks in advance! I love the theme btw!

    Best,
    Bernard.

Viewing 1 replies (of 1 total)
  • Tanay

    (@tanaykhandelwal-1)

    Hey How you doing ??

    For this replace the code between Line 38 to 49 in “swiftbiz-lite/SketchBoard/functions/swiftbiz-featured-widget.php” with below code.

    <!-- Featured Box  -->  
    
            <div class="swiftbiz-iconbox iconbox-top">
                <a href="<?php echo esc_url($fb_link); ?>">
                    <div class="iconbox-icon ">
                        <i class="fa <?php echo esc_html($fb_icon_class); ?>"></i>
                        <h4><?php if($title) { echo esc_attr($title); } ?></h4>
                    </div>
                    <ul class="horizontal-style"><li></li><li></li><li></li><li></li></ul>
                    <div class="iconbox-content"><?php if($fb_content) { echo esc_attr($fb_content); } ?></div>
                </a>
                <div class="clearfix"></div>
            </div>
            <?php echo $after_widget;

    Remember, when you’ll update theme then keep backup of the file.

    Regards,
    Tanay Khandelwal

Viewing 1 replies (of 1 total)
  • The topic ‘Featured Box images’ is closed to new replies.