• Resolved Navarre8

    (@navarre8)


    Gidday people, My first post and really love all the helpful style.css snippets I’ve found to date.

    Website is –

    Issue – Font size of “? 2013-2015 Copyright McDonnells Legal. All rights reserved. Powered by WordPress Twenty Twelve” at the bottom.

    I have the ‘Header and Footer’ plugin but I cannot see a way to alter the font size. I have a child theme also, so I don’t mind removing the plugin and embedding some css in either style.css or footer.php if required.

    Thank you in advance for any assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Look like you got your own version of child theme footer.php. Inside this file, wrap that copyright text in a <p class="myfooter"> then we can style it with this .myfooter selector.

    Thread Starter Navarre8

    (@navarre8)

    Thanks paulwpxp
    I’ve been using WP for about a week now and I am still learning so I am not sure what I am support to do with your suggestion, sorry.

    The following code has been entered into the plugin called Header and Footer:

    © <?php
    $copyYear = 2013; // Set your website start date
    $curYear = date(‘Y’); // Keeps the second year updated
    echo $copyYear . (($copyYear != $curYear) ? ‘-‘ . $curYear : ”);
    ?> Copyright McDonnells Legal. All rights reserved. Powered by WordPress Twenty Twelve

    I also have a footer.php file in my child theme folder, however, the only text in that file is the “Liability limited by a scheme approved under professional standards legislation”

    Would I be better removing the plugin and just using code to achieve the desired result?, that is, a copyright footer in the bottom grey area of the page that I can change colour and font and font size.

    Thanks again.

    The plugin put the code outside page content, so use plugin if you want that text outside. If you want the text inside page content, like under the Liability text, then use footer.php, but to be able to style it we need a class so wrap everything in a div or p with class.

    So for example put this in before, or after line#17
    https://themes.trac.www.ads-software.com/browser/twentytwelve/1.7/footer.php

    <div class="mysitecredit">My site credit text goes here</div>

    and then in CSS we can do this

    .mysitecredit { font-size: 30px; }
    Thread Starter Navarre8

    (@navarre8)

    Thank you so much paulwpxp. Your submissions absolutely nailed the brief. Thanks mate!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change font size in 'Header and Footer' plugin.’ is closed to new replies.