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.
edit style.css, and change the css of:
#site-generator and #site-generator a
harryts
Member
Posted 4 months ago #
Thanks. Very simple indeed. The name "site-generator" confuses
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!
you don't need to move footer.php - simply adding
#site-generator{display: none;}
to style.css of your child theme should work.
clovis
Member
Posted 3 months ago #
Worked perfectly! Thanks!
kamaleon
Member
Posted 3 months ago #
What if instead of removing it, I want to modify it? How should it be done?
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)
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?
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]
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!
@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;}
ejosborne
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.