Support » Themes and Templates » Changing the footer in my twenty-eleven child theme

  • 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.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    edit style.css, and change the css of:

    #site-generator and #site-generator a

    Thanks. Very simple indeed. The name “site-generator” confuses

    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!

    Michael

    (@alchymyth)

    Forum Moderator

    you don’t need to move footer.php – simply adding

    #site-generator{display: none;}

    to style.css of your child theme should work.

    Worked perfectly! Thanks!

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

    Michael

    (@alchymyth)

    Forum Moderator

    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)

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

    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]

    esmi

    (@esmi)

    Forum Moderator

    it will remove it?

    Yes.

    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!

    @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;}

    great.. thanks!

    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.

    niceWP

    (@nicewordpress)

    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..

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Changing the footer in my twenty-eleven child theme’ is closed to new replies.