Forums

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

  1. harryts
    Member
    Posted 4 months 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
    Posted 4 months ago #

    edit style.css, and change the css of:

    #site-generator and #site-generator a

  3. harryts
    Member
    Posted 4 months ago #

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

  4. clovis
    Member
    Posted 3 months 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
    Posted 3 months 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 3 months ago #

    Worked perfectly! Thanks!

  7. kamaleon
    Member
    Posted 3 months ago #

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

  8. alchymyth
    The Sweeper
    Posted 3 months 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 3 months 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 3 months 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 3 months ago #

    it will remove it?

    Yes.

  12. ejosborne
    Member
    Posted 1 month 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 1 month 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 1 month ago #

    great.. thanks!

  15. WPyogi
    Member
    Posted 1 month 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.

Reply

You must log in to post.

About this Topic