Support » Theme: Preference Lite » Footer text links colour not working

  • Can you tell me how to change the colour of the footer links as it doesn’t seem to be working in the Customize options when I change it. The text stays the dark purple colour with light blue on hover.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Theme Author Styled Themes


    You mean links in the dark background area at the bottom of the page?

    Sorry yes – the bottom of the page links.

    Called ‘Page Bottom Links’ in the customiser. It doesn’t change their colour for me.

    Also, there is no option to change the hover colour from light blue there either, so if there is a way to do both of the above please let me know!

    Theme Author Styled Themes


    Open the functions.php file and look for this:

    #page-footer-wrapper a {color:<?php echo get_theme_mod( 'pagebottom_link','#78a5b6' ); ?>;}

    Change pagebottom_link to pagebottom_links **my fault as it should be links, not link.

    Normally I would not suggest editing a core file like this, but this one is OK because it will be part of the next update.

    As for the hover colour, I noticed I did not put one in; I used an underline on hover for this one.

    Thank you for this help – I’ll give it a go!

    Ok done that but they are still purple. I even tried changing the hex code in the php file to #ffffff but still doesn’t change the colour of the links at the bottom of the page. These links are menu items right?

    Theme Author Styled Themes


    Please provide a link and I will take a look… also, what version of Preference Lite are you on?

    The purple you describe sounds like the link colour after one has clicked on it previously (a visited colour)

    I think, I have the exact same problem. I double checked with different browsers, the purple really is only the visited link colour. Is it possible to change this purple somewhere?


    In the end, I just turned off the footer menu so the links aren’t there at all.

    Sorry – I’ve just realised you asked me for the link to the site:
    I’m using version 1.8.5 of the theme (I set up a child theme)

    Theme Author Styled Themes


    This will be a fix in the next update. Normally I would not say edit the core theme file but because I will be fixing this, here is what you can do right now for the “visited” colour of the link being purple…

    open the theme’s function.php file and look for this:

    a:link, a:visited {color:<?php echo get_theme_mod( 'links','#b88d28' ); ?>;}

    Change a:link to a only (remove the :link) part.

    Thanks for you answer. Apparently I’m struck with temporary blindness as I’m unable to find said line in the function.php… So I will live with the purple 🙂 But thank you anyway!

    I couldn’t find that line either so I added it in there just below:
    a:link {color:<?php echo get_theme_mod( 'links','#b88d28' ); ?>;}

    I added the code given without the first bit (a:link,)

    Strange though because I tested it with the colour #000000 and the footer links now don’t change when visited, which is fine by me as it’s better than them turning purple.

    The links are now the same colour I set links to be under Customize>Colors>Text link color – so basically, the footer menu links are the same colour as any links within the main body of the pages!

    Theme Author Styled Themes


    I’m working on an update for this theme today and will have it ready by the end of the day.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Footer text links colour not working’ is closed to new replies.