• Resolved CactusWren

    (@migueldemaria)


    I have made an ifeature child theme, but when I install it, it throws the formatting off. The menus look weird, in the blog page the pictures are displaced and some of other text just in the wrong place.

    Here is the code.

    /*
    Theme Name:     ifeature child
    Theme URI:      http://example.com/
    Description:    Child theme for the ifeature 
    
    theme
    Author:         Miguel de Maria
    Author URI:     http://migueldemaria.com
    Template:       ifeature
    Version:        0.1.0
    */

    I have also used the code, but added the following line:
    @import url("../ifeature/style.css");
    When that didn’t work, I tried:
    @import url("public_html/blog/wp-content/themes/ifeature/style.css");

    My hunch is that the style.css of the parent is not being linked properly? Would appreciate some help!

    properly formatted:
    http://www.migueldemaria.com/blog/
    a screenshot of after the child install (bad):
    http://www.migueldemaria.com/blog/uncategorized/bad-formatting/

Viewing 6 replies - 1 through 6 (of 6 total)
  • You MUST have this line:

    @import url("../ifeature/style.css");

    If that does not work, your theme may not be child-theme friendly.

    Can you add that back and switch to the child theme?

    Thread Starter CactusWren

    (@migueldemaria)

    Thanks WPyogi,
    I just added it to my ifeature-child folder, now it looks like this:

    /*
    Theme Name:     ifeature child
    Theme URI:      http://example.com/
    Description:    Child theme for the ifeature 
    
    theme
    Author:         Miguel de Maria
    Author URI:     http://migueldemaria.com
    Template:       ifeature
    Version:        0.1.0
    */
    
     @import url("../ifeature/style.css");

    And the bad formatting is there:
    http://www.migueldemaria.com/blog/

    I will have to check out the ifeature support, but in the code it explicitly discourages messing with the code and directs me to make a child.

    It’s working fine now – clear your browser cache.

    Thread Starter CactusWren

    (@migueldemaria)

    Interesting, it looks like someone else is having the identical problem and posted on ifeature support yesterday!

    http://cyberchimps.com/forum-topic/minimum-requirement-for-child-theme/

    I asked here because I assumed I was doing something wrong.

    Thread Starter CactusWren

    (@migueldemaria)

    Oops–so it is! Thank you! I guess that’s a “is your computer plugged in” kind of thing…

    Browsers cache stylesheets and sites, so when you make a change, you may need to refresh the browser or clear the cache manually. But it seems to be working just fine now :)!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘child throws off formatting’ is closed to new replies.