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

Solved3 replies2 participantsUpdated by Eva Kemp

  • Avatar: kooop
    Ron
    Participant

    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
    Participant

    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

    Nevermind.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

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

    Regards,
    Eva Kemp.

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