?
Solved

How to add shopping cart icon to 'My Cart' Link in Magento

Posted on 2012-09-02
1
Medium Priority
?
2,102 Views
Last Modified: 2012-09-02
I have been trying to hours to add a shopping cart icon to the 'my cart' link in Magento but it doesn't show up. I've followed the simple css and added it to top-link-cart but nothing.

I am missing something?

background: url(../images/trolley_icon_header.png) left center no-repeat;

Open in new window



Please help me out guys!?!?
0
Comment
Question by:rafique12
1 Comment
 
LVL 45

Accepted Solution

by:
Chris Stanyon earned 1500 total points
ID: 38358656
Without seeing your code it's difficult to tell. Double check that your 'My Cart' link has the correct class. Also make sure your images are in the correct place, and that you're not getting any 404 errors on the page (check the Console in Firebug).

I'm hoping the code you posted is only part of it - you don't have a rule descriptor:

.top-link-cart { background: url(../images/trolley_icon_header.png) left center no-repeat; }

Open in new window

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question