WordPress.org

Ready to get started?Download WordPress

Forums

Changing the footer in my twenty-eleven child theme (16 posts)

  1. harryts
    Member
    Posted 2 years ago #

    Hello. I'd like not to remove the wording "Proudly powered by WordPress" completely (delete lines 24-27 if the footer.php in my twentyeleven-child theme), but to play a bit with its color and location. For example, set color ##009900 (green) and align it left or right. How can I change margins and color? Thanks.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    edit style.css, and change the css of:

    #site-generator and #site-generator a

  3. harryts
    Member
    Posted 2 years ago #

    Thanks. Very simple indeed. The name "site-generator" confuses

  4. clovis
    Member
    Posted 2 years ago #

    Does this mean if I copy the twentyeleven footer.php file into my child theme folder and then edit this to remove 'proudly powered by...' it will remove it? Or, do I need to add any other file to my child theme folder? Thanks!

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    you don't need to move footer.php - simply adding

    #site-generator{display: none;}

    to style.css of your child theme should work.

  6. clovis
    Member
    Posted 2 years ago #

    Worked perfectly! Thanks!

  7. kamaleon
    Member
    Posted 2 years ago #

    What if instead of removing it, I want to modify it? How should it be done?

  8. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    to edit any file in a child theme, copy it form the parent theme, save it in the child theme and edit it there (excludes functions.php which is different)

  9. kamaleon
    Member
    Posted 2 years ago #

    But then when the parent is modified, the child copy will remain the same... Not very optimal, isn't it?

  10. zhuzhuxiao
    Member
    Posted 2 years ago #

    Does this mean if I copy the twentyeleven footer.php file into my child theme folder and then edit this to remove 'proudly powered by...' it will remove it? Or, do I need to add any other file to my child theme folder? Thanks!

    [sig moderated as per the Forum Rules]

  11. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    it will remove it?

    Yes.

  12. ejosborne
    Member
    Posted 2 years ago #

    which bit exactly of the twenty eleven footer.php do i need to copy and paste into my child theme's style.css and which part/s of that do i need to modify in order to delete 'proudly powered by wordpress'.

    thanks!

  13. tg1
    Member
    Posted 2 years ago #

    @ejosborne:

    IF you just want to make the 'proudly powered by...' dissappear - then all you have to do, I believe, is copy the following code into your styles.css:

    #site-generator{display: none;}

  14. ejosborne
    Member
    Posted 2 years ago #

    great.. thanks!

  15. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    But then when the parent is modified, the child copy will remain the same... Not very optimal, isn't it?

    Actually -- it IS optimal and the very purpose of creating a child theme. You should never modify the parent template files.

  16. niceWP
    Member
    Posted 1 year ago #

    Guys, will copying the files into the child theme make the whole site load a bit slower because of the increase of the code?

    (or will copying the files into the Child theme simply disable the ones kept in the parent?)

    My site is loading so slow now, i am trying to learn what could be the reasons.

    Thank you..

Topic Closed

This topic has been closed to new replies.

About this Topic