WordPress.org

Ready to get started?Download WordPress

Forums

Child theme --what am I doing wrong Left sidebar (8 posts)

  1. Lhemmerich
    Member
    Posted 1 year ago #

    Trying to install a child theme says missing a layout

    What am I doing wrong
    http://www.knottydog.com/wp

    any suggestions ??

    Larry

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What exactly is the error message?

  3. Lhemmerich
    Member
    Posted 1 year ago #

    Broken Theme
    Missing Template

    I have only a style.css in directory

    Larry

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Review child themes and check that you have the correct comment block at the top of your style.css file.

  5. Lhemmerich
    Member
    Posted 1 year ago #

    Well that fixed part of my problem...THANKS
    Now it changed the entire look of the page..All I was trying to move sidebar to the LEFT

    below is my style.css for the child.....

    Theme Name: Twenty Twelve Child
    Theme URI: http://www.knottydog.com/wp
    Description: Child theme for the Twenty Twelve theme
    Author: larry hemmerich
    Author URI:
    Template: twentytwelve
    Version: 0.1.0
    */
    @import url('../twentytwelve/style.css');

    /*-- move sidebar to the left --*/
    @media screen and (min-width: 600px) {
    .site-content {
    float: right;
    }
    .widget-area {
    float: left;
    }
    }

    /* for IE8 and IE7 ----------------*/
    .ie .site-content {
    float: right;
    }
    .ie .widget-area {
    float: left;
    }

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Start by removing:

    /*-- move sidebar to the left --*/
    @media screen and (min-width: 600px) {
    .site-content {
    float: right;
    }
    .widget-area {
    float: left;
    }
    }
    
    /* for IE8 and IE7 ----------------*/
    .ie .site-content {
    float: right;
    }
    .ie .widget-area {
    float: left;
    }

    from your child's stylesheet.

  7. Lhemmerich
    Member
    Posted 1 year ago #

    OK but what do I put in its place to move the sidebar to the LEFT
    I though I copied this from the WP support site..
    Thanks

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Start by adding:

    .left-sidebar #primary {
        float: left;
    }

    to your child theme. You then may need to massage the margin on the primary and secondary divs to suit your needs.

Topic Closed

This topic has been closed to new replies.

About this Topic