Disappearing links on my page!

  • 1
  • Question
  • Updated 8 years ago
  • Answered
Hi guys,

I seem to have disappearing links on my page. I have a few golf websites at the bottom of my website http://abbotsfordgolfsection.yolasite... but everytime I click on one of the links and it takes me to the website in question, this is fine, but when I return to my home page the link has disappeared? Any ideas?
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes

Posted 8 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Most likely this is happening because you have added some custom CSS coding for your links. In this particular code, you probably set up your a: visited link to be white and since your background is white, it's blending in.

The code that you have implemented affects not only the top menu bar but also for the rest of the links you have on that particular page. This is something you need to keep in mind when selecting your colors.

So, the solution is to select a different a:visited color.
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes
This was for my tab CSS, so if I change the a:visited colour will this also change my tab colours as I dont want this to happen?? I only want the colour of my links to change to say "red" when clicked on. Is there a different way I can change the html to suit?
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes
again can someone maybe get back to me?
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Craig,
Sanja isn't online right now, and I am not sure if there is a way to change the CSS so that the top tabs don't change but the visited links do. I am sure Sanja will know, when she comes back online I will ask her to come and post back here.

Emmy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Craig

It seems as if you have found a workaround that seems to work well!

If you are still wondering about whether or not the code can be tweaked so that it does not affect the whole page? Unfortunately, I don't believe it can be done.

What you can do is overwrite the golf links with a font color tag but this will mean that the behaviors you have set out in your code will not work for those links. You will not get a hover color, etc... If you're still wanting to go this route, then this is what you can do:

<!--<a href="http://gigagolf.com">&lt;font color="#000000">www.gigagolf.com&lt;/font>&lt;/a>-->

I think what you have done though is great! I personally would leave it like that. :)
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes
Yeah thanks for the reply Sanja, I just used the picture instead and put the web address at the bottom works just as well and saves me from changing/tinkering with the code so its been solved.

Cheers