• Resolved cessanfrancsico

    (@cessanfrancsico)


    Hi,

    I created a child theme for my website. I am using the twenty eleven theme.

    How would I write the CSS in the child theme to hide the footer: “Proudly Powered by WordPress”

    My CSS skills are very basic at this point (I’m still learning).

    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try:

    #site-generator {
    display:none;}
    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks.

    So I copied and pasted that into my child theme and it seems to have broken the site.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Here’s my child theme. Please let me know if I’ve done something wrong. Thanks.

    /*
    Theme Name: child
    Theme URI: simonandturtle.com
    Description: Child Theme for twentyeleven
    Author: Chad
    Author URI: simonandturtle.com
    Template: twentyeleven
    Version: 0.1
    */
    
    @import url("../twentyeleven/style.css")
    
    #site-generator {
    display: none;
    }

    Which file in your child theme?
    Should be in the style.css found through Appearance > Editor.
    EDIT:
    OK so thats good!
    In what way did it “break” your site

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    It seemed to have take out all styling. It looked like plain HTML with pics.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks everyone for all your help.

    I figured out my problem. I was missing the semicolon after

    @import url("../twentyeleven/style.css")

    What does your directory structure look like in relation to parent / child.

    See example here.

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Thanks, batharoy!

    My directory structure is fine. I appparently neglected to include a semi-colon at the end of this:

    @import url("../twentyeleven/style.css")

    Thread Starter cessanfrancsico

    (@cessanfrancsico)

    Before I forget, a BIG THANK YOU to esmi!

    Thanks for your help!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Hide Footer w/Child Theme’ is closed to new replies.