Link colours aren't how I set them

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 3:06 pm

I'm missing something really obvious here - but I can't see it.

I have some text with one of the words as a link (simple WBS file is here https://www.dropbox.com/s/f8aw6qmyoojkf ... k.wbs?dl=1)

I want to change the default colour of the link to something else - in this case 'cornflower'). So, I go into style manager and (in the above example), I've created a link style called 'redlink' and applied it to the text word.

But it's not showing that colour but another one.

This came about because I wanted to have text on a red background, so I changed the text to white and the link colour to something nearly white. And it didn't do anything at all.

So, what have I missed here?

cheers

Alan

User avatar
Pablo
 
Posts: 15096
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Link colours aren't how I set them

Post by Pablo » Wed Oct 13, 2021 3:20 pm

You will need to set the color for all states of the link (default, hover, visited, active).
Also, the output format of the text is set to 'Use <p>', but you did not set 'enable responsive fonts'

See the help and this FAQ:
viewtopic.php?f=10&t=34318

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 3:40 pm

I've done all that and it still isn't showing me the 'cornflower' colour in either WWB or in my preview.

Alan

bkjohns
 
 
Posts: 206
Joined: Wed Nov 14, 2018 5:54 pm

Re: Link colours aren't how I set them

Post by bkjohns » Wed Oct 13, 2021 4:15 pm

Perhaps you grabbed a space before or after the word when you originally created the link but you aren't including that space when you try to adjust the color?

User avatar
Pablo
 
Posts: 15096
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Link colours aren't how I set them

Post by Pablo » Wed Oct 13, 2021 5:06 pm

In the project you have share, you did not set the colors for all states.

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 8:59 pm

When I open it up and edit the link colours, they all seem to be set: I edited the link, clicked on 'edit styles', then selected 'redlink' to edit and it shows all the colours set. As you can see from the picture below, the default colour is not 'cornflower although it should be (third box)'.

Image

User avatar
jerryco
 
 
Posts: 436
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Link colours aren't how I set them

Post by jerryco » Wed Oct 13, 2021 9:31 pm

Page default?
// Love is the acceptance of nothing / So, you're here. Now dance.

/ You want RWD? Rotate your damn phone! //

User avatar
crispy68
 
 
Posts: 1461
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Link colours aren't how I set them

Post by crispy68 » Wed Oct 13, 2021 9:34 pm

You say the 3rd one should be Cornflower but you don't show this particular link in your pic. :?

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 9:46 pm

crispy68 wrote:
Wed Oct 13, 2021 9:34 pm
You say the 3rd one should be Cornflower but you don't show this particular link in your pic. :?
The default link colour should be cornflower and if you look at the third box in the picture, that is what it shows. But if you look at the text, the colour shown is a blue colour.

If you download my wbs file (it's only 16Kb) and open it up, you should see what I am seeing. If not, then I want to know what I am doing wrong.

Alan

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 9:49 pm

jerryco wrote:
Wed Oct 13, 2021 9:31 pm
Page default?
Jerry, you may be on to something here. But I would have thought the mods I made overrode the defaults of the page. I can't change the page defaults for real because my proper page (not the test one here) has a lot of other links which are OK.

User avatar
crispy68
 
 
Posts: 1461
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Link colours aren't how I set them

Post by crispy68 » Wed Oct 13, 2021 9:50 pm

I'm not at my computer but the default link color you show matches the first link in the display below. Also, cornflower is supposed to be a blue color.

So are you saying when you change that yellow color to another color it goes back to the yellow color?

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: Link colours aren't how I set them

Post by alan_sh » Wed Oct 13, 2021 9:55 pm

I got the name wrong. Sorry. It should be cornsilk - a pale yellow colour.

Can someone try my test file and tell me what they get?

ALan

User avatar
Pablo
 
Posts: 15096
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Link colours aren't how I set them

Post by Pablo » Thu Oct 14, 2021 6:20 am

Based on your screenshot, it does not look like you have set the color for all link states.
visited, activate and hover, still have the default color. You have only changed the style for 'default'
If you preview the page in the browser then the link will most like be purple because you have linked to the same page (so the state will be 'visited').

Also, note that in the workspace the color will always be blue, because this is how Microsoft renders links...
https://wysiwygwebbuilder.com/link_color.html

alan_sh
 
 
Posts: 1020
Joined: Tue Jan 01, 2019 5:50 pm

Re: * Solved * Link colours aren't how I set them

Post by alan_sh » Thu Oct 14, 2021 8:46 am

I have set the colours. The there were two things wrong.

1. I had already been to the target site, so the link colour in the browser was 'visited'.
2. For my test, I had forgotten that I have to view it in a browser to see the colours.

So, thanks for everyone who commented on this post.

Alan

User avatar
jerryco
 
 
Posts: 436
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Link colours aren't how I set them

Post by jerryco » Thu Oct 14, 2021 8:50 am

So now the colors are how you wanted them?
// Love is the acceptance of nothing / So, you're here. Now dance.

/ You want RWD? Rotate your damn phone! //

Post Reply