Size guide image - by geeklover - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 7 years, 6 months ago ago by Olga Barlow

  • Avatar: geeklover
    geeklover
    Participant
    October 10, 2016 at 15:39

    Hi, I wanted an option for to have the Size guide image automatically to all products. I asked here https://themeforest.net/item/xstore-responsive-woocommerce-theme/15780546/comments?page=13&filter=all#comment_14444108 but you told me cannot be done.
    Because I want the same image for sizing guide to all products I want to know where in theme’s code is the Size guide image so I try to alter it myself and always display the same size guide image on every product.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 11, 2016 at 09:26

    Hello,

    You may add the following code in functions.php of child theme and use link to your image in href

    function etheme_size_guide() { ?>
    		<div class="size-guide">
    			<a href="link_to_your_image_here" rel="lightbox"><?php esc_html_e('Sizing guide', 'xstore'); ?></a>
    		</div>
    	<?php
    }

    Regards

    Avatar: geeklover
    geeklover
    Participant
    October 11, 2016 at 12:47

    It worked! thanks a lot!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 11, 2016 at 12:51

    Hello,

    You are welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.