Minicart link color settings

General ShopSite user discussion

Minicart link color settings

Postby johnbiggscr » Fri Dec 02, 2011 8:50 am

We have placed the minicart on our pages.
The code in the template look like this:

<div><script type="text/javascript" language="JavaScript">DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Subtotal","[-- VAR.HeaderCartIcon --]");</script></div>

which results is something that typically looks like this in the page:

<div style="text-align: left;"><script type="text/javascript" language="JavaScript">DisplayMiniCart("ss_cart_0001388990","Subtotal","white");</script></div>


As soon as I add a product the text changes from white to the same as a default link colour, which as its dark blue against a black background it means its hard to see. Instead I want it to always remain white, no matter what.
Anyone know the CSS code I need or where I can change the color for just for the minicart?
johnbiggscr
 
Posts: 68
Joined: Mon Mar 01, 2010 12:41 pm
Location: Cedar Rapids

Re: Minicart link color settings

Postby Jim » Fri Dec 02, 2011 1:19 pm

Are you using a ShopSite provided template or one that you (or a designer) has created?

The text is probably a link to the cart so that is why it changes to the link color.
I think you would probably need to add a div id to the div you have around the code and then set the text color in a style for that div. You could check the code used in some of the ShopSite templates that have a dark background and see how it is done in those templates.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Minicart link color settings

Postby results » Mon Dec 05, 2011 5:39 pm

Firefox browser has an add-on called Firebug. If you load a page and turn on Firebug, your page will be displayed at the top and the source code at the bottom. You can then navigate go to the exact DIV, etc. of the page, CLICK IT so it's highlighted, and see what css file and line is determining the styling. You can X off specific lines to see how they change the output, before you change your actual files. It's a must do for working in the blind like this with files others have created.
results
 
Posts: 5
Joined: Thu Dec 01, 2011 10:53 pm


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 104 guests