WordPress.org

Ready to get started?Download WordPress

Forums

Preference Lite
Footer text links colour not working (18 posts)

  1. stephtaryn
    Member
    Posted 4 months ago #

    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.

  2. StyledThemes
    Member
    Theme Author

    Posted 4 months ago #

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

  3. stephtaryn
    Member
    Posted 4 months ago #

    Sorry yes - the bottom of the page links.

  4. stephtaryn
    Member
    Posted 4 months ago #

    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!

  5. StyledThemes
    Member
    Theme Author

    Posted 4 months ago #

    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.

  6. stephtaryn
    Member
    Posted 4 months ago #

    Thank you for this help - I'll give it a go!

  7. stephtaryn
    Member
    Posted 4 months ago #

    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?

  8. StyledThemes
    Member
    Theme Author

    Posted 4 months ago #

    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)

  9. lili23
    Member
    Posted 3 months ago #

    Hello,
    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?

    Thanks,
    Lili

  10. stephtaryn
    Member
    Posted 3 months ago #

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

  11. stephtaryn
    Member
    Posted 3 months ago #

    Sorry - I've just realised you asked me for the link to the site: http://www.belluber.com/client/
    I'm using version 1.8.5 of the theme (I set up a child theme)

  12. StyledThemes
    Member
    Theme Author

    Posted 3 months ago #

    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.

  13. lili23
    Member
    Posted 3 months ago #

    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!

  14. stephtaryn
    Member
    Posted 3 months ago #

    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' ); ?>;}

  15. stephtaryn
    Member
    Posted 3 months ago #

    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!

  16. StyledThemes
    Member
    Theme Author

    Posted 3 months ago #

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

  17. stephtaryn
    Member
    Posted 3 months ago #

    Ok sounds great :-)

  18. StyledThemes
    Member
    Theme Author

    Posted 3 months ago #

    OK, so I have an update done, but just testing a couple other things I am doing. I am not adding "visited" link colour to the footer area, so it's just a link colour and hover only. The visited link colour will be the same as the link colour for the footer area....I generally do this for all my themes. I will upload the new version 1.8.6 shortly.

Reply

You must log in to post.

About this Theme

About this Topic