How do I change the breadcrumb ">" color?

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

How do I change the breadcrumb ">" color?

Post by macromark » Wed Feb 23, 2011 4:05 pm

I changed the breadcrumb text color in the style.css sheet but the ">" symbol between links stayed the same very faint color. How can I change the color of the symbol?

Thanks in advance...

Mark

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: How do I change the breadcrumb ">" color?

Post by s_ismail » Tue Mar 01, 2011 7:41 am

You can change color of symbol in '.breadCrumbPanel ' css class like this

Code: Select all

.breadCrumbPanel {
    background:#FFFFFF url(images/CategoryBreadCrumbsEdge.gif) no-repeat left top; padding: 8px 0;color:'YOUR_COLOR_HERE'; 
    font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; font-weight:lighter; text-indent:16px;}

macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Re: How do I change the breadcrumb ">" color?

Post by macromark » Tue Mar 08, 2011 11:17 am

Thanks. However, I did change that and it changed the link color but not the ">"... that's the problem I'm having. See my attachement.

macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Re: How do I change the breadcrumb ">" color?

Post by macromark » Tue Mar 15, 2011 9:49 am

Anybody??

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: How do I change the breadcrumb ">" color?

Post by plugables » Tue Mar 15, 2011 10:17 am

Well seems like code change is inevitable. You can't do this with CSS alone.

Open ConLib/BreadCrumbs.ascx and change the following line

Code: Select all

<PathSeparatorTemplate><asp:Localize ID="PathSeparator" runat="server" Text=" > "></asp:Localize></PathSeparatorTemplate>
to something like

Code: Select all

<PathSeparatorTemplate><span class="CrumbSeperator"> <asp:Localize ID="PathSeparator" runat="server" Text=" > "></asp:Localize></span></PathSeparatorTemplate>
Use the class CrumbSeperator in your css file to set your desired style.

Code: Select all

.CrumbSeperator {color:red;}

User avatar
clevername
Lieutenant (LT)
Lieutenant (LT)
Posts: 54
Joined: Tue Jan 11, 2011 8:54 am

Re: How do I change the breadcrumb ">" color?

Post by clevername » Wed Mar 16, 2011 10:04 am

You can do this with css alone.
Because the breadcumbs are made of links so all of those colors are changed with their ".CategoryBreadCrumbs a" css. So if you change the "color:#xxxxxx" on the ".CategoryBreadCrumbs" to a color you want it will make the text that is not a link that color. And in this case the ">" is the only thing left.

so change this

Code: Select all

.CategoryBreadCrumbs {
    padding: 3px 0; background:#FFFFFF url(images/CategoryBreadCrumbsEdge.gif) no-repeat left top; color:#000;
    font-family:Verdana, Arial, Helvetica, sans-serif; font-size:7px; text-indent:16px;}
...Your breadcrumb class may be different but the concept is the same

macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Re: How do I change the breadcrumb ">" color?

Post by macromark » Wed Mar 16, 2011 12:19 pm

Looks like "clevername's" CSS suggestion did the trick. VERY MUCH APPRECIATED! thank you both. :D

Post Reply