Text Link Colors in VSD - Post ID 96317

User 1985924 Photo


Registered User
4 posts

Hello! I'm using visual site designer and I have, pretty much, no programming experience. I would like to make my links different colors, no underline. I found the thread about turning the underline off and that worked like a dream.

There is a similar thread https://www.coffeecup.com/forums/html-editor/different-link-colors-on-same-page/ but I couldn't figure out how to paste body text in VSD. So this code solution didn't work for me. I have two groups of links in white (#FFFFFF) and blue (#333399)respectively.

I am making a template file for my website so it is not online yet. I can attach the file if it would help. Thank you for your help!
User 38401 Photo


Senior Advisor
10,951 posts

To change the font color in VSD do the following:
  • Open your site in VSD, at the top choose the Settings Menu choice
  • Choose the top choice of Standard Settings For New Pages...
  • On the left side of the window that opened there is a pulldown menu on the window that opened called Load Existing Page Settings, pull that menu down and choose a page, any page at all.
  • On the right side you'll see the little boxes toward the bottom for the Page link colors:
    The unvisitied is when people first see the link, and the visited is for once someone clicks it. Change those 2 colors to the colors you want it to be for your links.
  • On the bottom left is an Apply to All Pages button, press that and then say yes on the small box that opens after that.
User 1985924 Photo


Registered User
4 posts

Thank you for your quick response. I previously changed this setting to make all of my links white. So, I would be half-way there. But I have text links elseware on the page that I want the blue color when they are not yet visited. Is there a trick to make these few different than the page default?
User 38401 Photo


Senior Advisor
10,951 posts

hmm that I'm not sure about if it can be done, I'll sit back and see if someone else knows that answer as I've never tried doing multiple link colors before lol.
User 1985924 Photo


Registered User
4 posts

Ahh, thanks.

I'm also looking into make the header text images or part of the background image and image mapping it. I just prefer using text since it looks nice and loads so much faster. Trying to simplify. :)

But I definately want to hear if someone has a solution!
User 414501 Photo


Registered User
564 posts

Yes it can be done, go to "Edit" and then "Edit Header" and then make sure the "Header HTML" tab is selected, and paste this code, customize it according to your own colors. This will allow you to change the color on ONE page in your site while leaving the default link colors the same on all other pages in your site. This code will NOT let you use two different link colors on the SAME page.

<style type="text/css">
<!--
#container a:link {color: #FFCC00; text-decoration: underline; }
#container a:visited {color: #FFCC00; text-decoration: underline; }
#container a:active {color: #FFCC00; text-decoration: underline; }
-->
</style>

If you want two colors on the SAME page you hafta use the code that BillR posted in the link you referred to in your original post. Editing body HTML is tricky in VSD. The post you referred where Bill is describing how to do this is the HTML Editor forum, as you're aware, so changing the code is much easier.

I can tell you this, though. You can always open up the raw html file created by VSD and do whatever you want with the code, BUT the next time you save the site all your coding will be lost because VSD would replace it with it's own code. It would have no way of saving any changes that you have made to the code manually.

The only way to manipulate body code in VSD in a way that the software will save is to create an HTML box using the HTML tool. This means that you will have to HAND-CODE the section of your site that you want to have the alternate link colors, or you can use CC HTML Editor.

If you post this question in the development forum you might get more "bites" because those guys know more about code than you or I do.
Chad Spillars
"Look I finally made myself a signature!"

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.