Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    The plugin does not add any HTML classes or elements by default. You can add them in your theme’s footer.php file where you have the footer_text() function.

    Either around the function:

    <div class="footer-text"><?php footer_text(); ?></div>

    Or you can pass before and after text to the function itself:

    <?php footer_text( '', '<div class="footer-text">', '</div>' ); ?>

    Thread Starter edouardcoleman

    (@edouardcoleman)

    Thanks for replying so fast
    I ve tried both options but it didn t work..

    Plugin Author Shea Bunge

    (@bungeshea)

    Can you send me the contents of your footer.php file?

    Don’t paste it in the forum, instead upload it to https://gist.github.com or https://pastebin.com and paste the link in here.

    Thread Starter edouardcoleman

    (@edouardcoleman)

    Plugin Author Shea Bunge

    (@bungeshea)

    You can use this replacment code: https://gist.github.com/bungeshea/5cd77c58caaa18522821

    Now you can use the .footer-text class in your CSS.

    Thread Starter edouardcoleman

    (@edouardcoleman)

    Sorry for replying so late. I ve tried to use this code but it still doesn t want to work… But many thanks for your help.

    If you prefer, maybe you could just say me how to change the visited, hover and active color of the links I put in the footer, in HTML.
    Here is a part of my code in Footer-Text:

    <p style=”font-family: open sans; text-align: center; font-size: 11px;”>
    […] </p>

    Plugin Author Shea Bunge

    (@bungeshea)

    Sorry it’s taken me so long to reply, I’ve been pretty busy the past week.

    There is no way to style pseudo states in inline styles. However, what you can do is add a class name in the footer text input, and then style it in your style.css.

    In the footer text box:

    <p class="some-footer-class'>[...]</p>

    In style.css:

    .some-footer-class {
        font-family: Open Sans;
        text-align: center;
        font-size: 11px;
    }
    
    .some-footer-class:visited {
        color: purple;
    }
    
    .some-footer-class:hover {
        color: red;
    }
    Thread Starter edouardcoleman

    (@edouardcoleman)

    Perfect.
    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘CCS Name?’ is closed to new replies.