X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Changing link colours in speedbar (https://forum.x-cart.com/showthread.php?t=7714)

adpboss 05-24-2004 08:25 PM

This is my last suggestion. I gotta get back to work. Good luck, I hope this gets your imagination going. You can figure this out for yourself I am sure!

Work from the original code. Add this after the TAB entry.

Code:

.Tabcustom:link {
  COLOR: Teal;
  TEXT-DECORATION: none;
}
.Tabcustom:visited {
  COLOR: Teal;
  TEXT-DECORATION: none;
}
.Tabcustom:hover {
  COLOR: Aqua;
  TEXT-DECORATION: underline;
}
.Tabcustom:active  {
  COLOR: Teal;
  TEXT-DECORATION: none;
}


Change in tab.tpl

OLD
<td width=85 height=30 class=Tab align=center>{$tab_title}</td>

NEW
<td width=85 height=30 class=Tab align=center><font class=Tabcustom>{$tab_title}</font></td>

GM 05-24-2004 08:35 PM

Thanks for your time... but it didn't work.
(If I could figure it out I wouldn't have posted it) FRIGGGGG!!

adpboss 05-24-2004 08:41 PM

If you are going to get frustrated before you get started, then you will never figure anything out.

Your launch date is September. Move on to other things and keep bumping this thread for help or maybe it will eventually come to you. Getting upset and fixated on one small cart tweak is going to ruin your whole development effort.

You have to stay positive and focused.

Good luck.

GM 05-24-2004 08:44 PM

Your right adpboss... onward... through the fog :D and thanks again for trying.

shan 05-25-2004 02:47 AM

try add the class to the link. edit top_menu.tpl if the link is in there


GM 05-25-2004 08:13 AM

That was a brilliant thought shan but it didn't work either.
I even tried a variation in styles:
Code:

A.Tab:link {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}
A.Tab:visited {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}
A.Tab:hover {
  COLOR: Aqua;
  TEXT-DECORATION: underline;
}
A.Tab:active  {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}

I might have found the perfect workaround though... I'm ripping the speedbar out! :lol:

adpboss 05-25-2004 08:26 AM

Yes. Destroy the speed bar.

I hate it myself. I mean it's a cool idea, but the default look and the lack of styles you can apply make it NASTY looking IMHO.

shan 05-25-2004 08:43 AM

LOL

or try


had a few extra ` in there

GM 05-25-2004 03:02 PM

Mission Accomplished... Speedbar Destroyed! :twisted:

I am gonna' try shans variation though for future reference. The only nice thing about staying near default guidelines is upgrading... other than that... tear it down, build new, I guess by nature we all hate default "Anything" Thanks you guys for all your help. GM

(note: no speedbars were harmed during the making of this thread)

GM 05-25-2004 04:00 PM

I DON'T BELIEVE IT!!! IT WORKED!!! 8O

BRILLIANT!! ABSOLUTELY BRILLIANT!!!

Between the two of you, you could probably solve anything!
That was hard man! I never, ever, would have got it.
My highest respects to you! :D

Here's a recap for anyone who's been trying to follow this thread:

(all credit goes to shan and adpboss)

First change Tab styles in skin1/CSS to:
Code:

.Tab {
  BACKGROUND-COLOR: #73004E;
  FONT-WEIGHT: bold;
  TEXT-TRANSFORM: uppercase;
}
.Tab:link {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}
.Tab:visited {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}
.Tab:hover {
  COLOR: Aqua;
  TEXT-DECORATION: underline;
}
.Tab:active  {
  COLOR: #FFD44C;
  TEXT-DECORATION: none;
}


Then in skin1/customer/top_menu.tpl change:
To:


All times are GMT -8. The time now is 06:20 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.