Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Recently visited link (http://forum.bytesforall.com/showthread.php?t=22699)

tfarrell Aug 5, 2014 02:27 PM

Recently visited link
 
Hello

I have lots of links on my site and they all show correctly in the various states except for "Visited"

The code I put into ATO at Headline Box Links is below. It has had some effect on the titles of the posts but they do not show as having been "visited". I then noticed that none of the links on the site show this behaviour.
http://careersnews.ie/

What do I need to do to fix this?



Code used.
/* unvisited link */
a:link {
color: #FF0000;
}

/* visited link */
a:visited {
color: #00FF00;
}

/* mouse over link */
a:hover {
color: #FF00FF;
}

/* selected link */
a:active {
color: #0000FF;
}

lmilesw Aug 5, 2014 07:56 PM

You may have to add more specificity to the selector or add !important to the attribute.

tfarrell Aug 6, 2014 02:02 AM

Thanks for the quick reply. I thought that implementing the behaviors on links would be something done automatically and not require specific programming.
Am getting well out of my depth here.
I added 1important to the color and it had no effect.
Can you give me an example of what code for specificity might look like.

maniek90 Aug 6, 2014 03:43 AM

You should install firebug if you are using firefox browser.

or just go to the menu tools > tools for website creator and check the css for the visited, I am almost 100% sure that some different rule overwrite the visited one
_____________________________
My own graphic on own label water in great company that specialisation is soft drink development

lmilesw Aug 6, 2014 07:43 AM

I just reread the original post.
The only code you put in the
"Headline Box: Links" or "Headline Box: Links: Hover"
would just be the color statement if you want to change those colors. You can't put the whole CSS there. You can only have the color or the color on hover.
If you need the visited color you would add the complete CSS to CSS Inserts.

If you look at the examples in the Style Posts and Pages section of the theme options you will see what I mean.

tfarrell Aug 8, 2014 03:29 PM

working but I still have a question if anyone can help.

It works perfectly for post titles and other links throughout the site.

How do I get it to work for the post footer where categories etc are displayed?

Thanks for all the help.

Tom


All times are GMT -6. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.