Treehouse: Grow your CSS skills. Land your dream job.

[Solved] Applying styling to: <?php wp_loginout(); ?>

  • # November 6, 2009 at 5:05 am

    As I do not have a login/out button on my sidebar, I have added a link to my page footer using:
    <?php wp_loginout(); ?>

    I know it is taking/using my standard link formatting (see bottom of this post) but I have created a second
    set of link rules for my footer ( a.footerText:link {color: #85EC5C;} ) and ( a.footerText:hover {color: #FFF;} )
    but I cannot seem to apply them. I’ve tried multiple methods but have had no luck. Can anyone show me how
    I should apply my second set of link rules to: <?php wp_loginout(); ?>

    My theme/page is located at The login link is literally the last item on the footer
    (after the word " Disclaimer ::" but you cannot see it unless you rollover it as my default links are green.

    (My default link formatting)
    a:link {
    text-decoration: none;
    color: #53c128;

    a:hover {
    text-decoration: none;
    color: #09F;

    # November 6, 2009 at 6:28 am
    #footer a {
    color: #85EC5C;

    #footer a:hover {
    color: #fff;

    # November 6, 2009 at 7:43 am

    I feel slightly foolish for not trying that :oops:
    Anyway it worked like a charm so thanks loads :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.