Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13944

    I’d like to edit my footer in a proper way that won’t be erased on future updates.

    Is there a way to modify the footer within custom.css? I’ve only changed it using the footer.php.

    Is it difficult to have two shades of gray in the footer (white & gray) similar to this forum footer?

    Also, how can I have left side / right side content, again similar to this forum?

    Thanks!

    – John

    #81367

    No, but Kriesi included a filter for the copyright text. You can eg use this filter code in combination with your child theme functions.php. The code is:

    add_filter('kriesi_backlink', 'inoplugs_backlink');
    function inoplugs_backlink() {
    return " - <a href='http://mywebsite.com'>Webdesign by ME</a>";
    }

    2) You can use the css3 gradient property but it’s only supported by some browsers. The better solution is to use a gradient background image like Kriesi: http://www.kriesi.at/wp-content/themes/kriesi_at/images/skin1/bg_tile.png

    You can use following code to apply a bg image to the footer area:

    #footer{
    background-image: url('my-image.jpg');
    }

    3) Can you elaborate please? Do you mean the sidebar?

    #81368

    1. I haven’t been using a child theme. I thought he said to put all my modified css within custom.css and it wouldn’t be touched on upgrades. Should I create a child theme? If so, what do I need to include in that folder? Other themes i’ve seen only have the style.css in there.

    2. I’m sorry my question was misleading. I meant can there be two different colors / shades for the text. I.e. copyright in darker grey and my company in a lighter grey.

    3. What I mean was justification… having the copyright & company name in the lower left side and on the lower right could be something else like a message, social icons, another link etc.

    Thanks!

    #81369
    add_filter('kriesi_backlink', 'inoplugs_backlink');
    function inoplugs_backlink() {
    return " - <a href='http://mywebsite.com'>Webdesign by ME</a>";
    }

    This didn’t work for me, when I added it to custom.css. Any suggestions?

    #81370

    Hey!

    You need to add this code to functions.php because it’s PHP code.

    Regards,

    Peter

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

The topic ‘Proper place to edit the footer so it doesn't get reverted on upgrades’ is closed to new replies.