How to add image in header in place of cart

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

  • Avatar: kooop
    Ron
    Participant
    April 30, 2014 at 21:46

    We’re not going to be using the shopping cart on this site, and I’d like to put an image in where the cart info would go in the header. I was able to put it in place of the search box, but nothing ever shows up on the other side.

    Thank you for your assistance.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 30, 2014 at 22:45

    Hello,

    You need to insert the following code into custom.css file:

    .cart-summ, .cart-popup {
                display: none;
    }
    
    .shopping-cart-widget {
        background-image: url("http://full_path_to_your_image");
        background-repeat: no-repeat;
    }

    You can edit custom.css file in admin panel > Appearance > Editor.

    Regards,
    Eva Kemp.

    Avatar: kooop
    Ron
    Participant
    May 6, 2014 at 16:19

    Turns out I need that space to be an image that can link to an external site, how can I do that?

    Avatar: Eva
    Eva Kemp
    Support staff
    May 6, 2014 at 19:28

    Hello,

    This requires additional customization of theme files. If you have the needed skills you can edit the files in a child theme. Our service for additional customization isn’t for free and unfortunately the developers are unable to assist on such issues due a large amount of work.

    Please take our apologies.
    Regards,
    Eva Kemp.

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

The issue related to '‘How to add image in header in place of cart’' has been successfully resolved, and the topic is now closed for further responses

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