The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Header Link Colors Not Right
Author Message
Reply with quote
Post Header Link Colors Not Right 
Hello.

I have a custom store_header.inc file which is as follows (my website is coralreefaquarium.net):

----------------------

<style>
<!--

/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
color:white;}
a:link, span.MsoHyperlink
{color:white;
text-decoration:underline;}
a:visited, span.MsoHyperlink
{color:white;
text-decoration:underline;}
a:hover, {color:cornflowerblue; text-decoration:underline;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->

</style>

<body bgcolor="#003366" lang=EN-US link=white vlink=white>

<p class=MsoNormal align=center style='text-align:center'><img width=521
height=136 src=%%URLofImages%%/Logo.jpg"></p>

<p class=MsoNormal align=center style='text-align:center'>&nbsp;</p>

<div align=center>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
style='border-collapse:collapse'>
<tr style='height:42.25pt'>

<td width=74 valign=top style='width:55.35pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a href="http://www.coralreefaquarium.net/index.html">Main</a></span></p>
</td>

<td width=74 valign=top style='width:55.35pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a href="http://www.coralreefaquarium.net/about_us.html">About Us</a></span></p>
</td>

<td width=95 valign=top style='width:71.55pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Livestock.htm">Livestock</a></span></p>
</td>

<td width=74 valign=top style='width:55.35pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Live%20Rock.htm">Live Rock</a></span></p>
</td>

<td width=85 valign=top style='width:64.05pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Supplies.htm">Supplies</a></span></p>
</td>

<td width=106 valign=top style='width:79.8pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Aquariums.htm">Custom Aquariums</a></span></p>
</td>

<td width=98 valign=top style='width:73.8pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Aquarium%20Services.htm">Aquarium
Services</a></span></p>
</td>

<td width=91 valign=top style='width:68.55pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold' ><a
href="http://www.coralreefaquarium.net/Paintings.htm">Paintings</a></span></p>
</td>

<td width=94 valign=top style='width:80.55pt;padding:0in 5.4pt 0in 5.4pt;
height:42.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:16.0pt' style='font-weight:bold'><a
href="http://www.coralreefaquarium.net/Shipping.htm">Shipping<br>
&amp; Payment</a></span></p>
</td>
</tr>
</table>

</body>

<style>
<!--

a:link {color:blue; text-decoration:underline}
-->
</style>

--------------------------------

If I do the following:

1) Go to coralreefaquarium.net
2) Select "Livestock"
3) Select "Corals"
4) Select "SPS Corals"

I make it to the SPS Corals page, but the links across the top are not consistent from a color standpoint. Some are white and some are blue. Ones I haven't visited yet are blue. After clicking on one and then coming back to the SPS Corals page, I see that it is now white. I want them all to be white all the time (from the start).

In my store_header.inc file that I provided above, note that I have the following at the top:

----------------

a:link, span.MsoHyperlink
{color:white;
text-decoration:underline;}
a:visited, span.MsoHyperlink
{color:white;
text-decoration:underline;}

----------------

For some reason, this doesn't seem to make a difference. Some times the links are blue and sometimes they are white. Do you know why this is the case? Is there another top level file I need to modify that the store_header.inc feeds into so that the links are always white?

Thanks for your time.

View user's profile Send private message
Reply with quote
Post  
which store version are you using?
d

Reply with quote
Post  
My store version is 4.0k-4b.

Thanks.

View user's profile Send private message
Reply with quote
Post  
i've got pressing business to attend to. if you don't hear from me by tomorrow then reply to this post and i'll try my best to make time to help.
d

Reply with quote
Post  
It is suggested to get your store upgrade to v5.2, as handling your CSS styles and many other things much easier. V4.x isn't really being supported anymore, either.
However, you cannot have the following in your header (neither v4.x or v5.x):
Code:
style>
<!--

/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
color:white;}
a:link, span.MsoHyperlink
{color:white;
text-decoration:underline;}
a:visited, span.MsoHyperlink
{color:white;
text-decoration:underline;}
a:hover, {color:cornflowerblue; text-decoration:underline;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->

</style>

<body bgcolor="#003366" lang=EN-US link=white vlink=white>


And at the bottom of your file you cannot have:
Code:
</body>

<style>
<!--

a:link {color:blue; text-decoration:underline}
-->
</style>


You would need to consolidate your CSS into a stylesheet and link to it as is specified in the following post:
http://www.agoraguide.com/faq/viewtopic.php?t=1156

Check over your coding... you cannot have 2 style="whatever" attributes within a single html tag...

I can't really get into it, but these were the first things that jumped out at me with a quick look-over of the posted code.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thanks for catching this problem. I got rid of the <style>... at the bottom. So far I haven't seen the "anomaly" again. That was probably the problem. Sorry to waste your time with this one.

Thanks!

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum