Adding a link in the header - by Ron - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 10 years, 5 months ago ago by Eva Kemp

  • Avatar: kooop
    Ron
    Participant
    June 3, 2014 at 16:43

    I have an image in the header for Rolex that I need to link to Rolex’s website. Can you tell me where “.shopping-cart-widget” is at in the editor so that I can add a link in the php file?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 3, 2014 at 18:58

    Hello,

    You need edit file /wp-content/themes/legenda/framework/woo.php
    Find the code
    <div class="shopping-cart-widget a-right" <?php if(etheme_get_option('favicon_badge')) echo 'data-fav-badge="enable"' ?>> (line 923) and under it add the following code

    <div class="clickable"><a href="http://rolex.com">
        <img src="http://haroldfreemanjewelers.com/redesign/wp-content/uploads/2014/04/rolex-large.jpg">
    </a></div>

    But also you need to remove this code in custom.css file:

    .shopping-cart-widget {
        background-image: url("http://haroldfreemanjewelers.com/redesign/wp-content/uploads/2014/04/rolex-large.jpg");
        background-repeat: no-repeat;
    }

    Regards,
    Eva Kemp.

    Avatar: kooop
    Ron
    Participant
    June 4, 2014 at 18:47

    Nevermind.

    Avatar: Eva
    Eva Kemp
    Support staff
    June 4, 2014 at 20:24

    Hello,

    This topic will be closed.
    If you need more help please create a new topic.

    Regards,
    Eva Kemp.

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

The issue related to '‘Adding a link in the header’' has been successfully resolved, and the topic is now closed for further responses

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