Support » Themes and Templates » Child theme –what am I doing wrong Left sidebar

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    (@esmi)

    Forum Moderator

    What exactly is the error message?

    Broken Theme
    Missing Template

    I have only a style.css in directory

    Larry

    esmi

    (@esmi)

    Forum Moderator

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

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

    esmi

    (@esmi)

    Forum Moderator

    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.

    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

    esmi

    (@esmi)

    Forum Moderator

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Child theme –what am I doing wrong Left sidebar’ is closed to new replies.