• Okay. I completely love cheerupemokid.com and I am trying to emulate his layout. Not his graphics or content mind you, just his overall layout. He is using multiple wrappers for some of his graphics. I am trying to get that element to work.

    I found the code in his style.css as follows:

    .wrapper-top {
    min-height: 196px;
    margin: 0 auto;
    background-color: #d9d9d9;
    background-image: url(‘img/bg-head.jpg’);
    background-repeat: no-repeat;
    background-position: center top;
    }

    When I put this in my theme’s css, I get nothing, and yes, my image is using the same name for now. He has a top, mid, and bot wrapper. Any thoughts as to why it won’t work in mine? – Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you have an element class named “wrapper-top” in the same location on your page? CSS is theme and site specific – you can’t simply copy the CSS unless you have the same corresponding elements in your code/page.

    Thread Starter bric002

    (@bric002)

    Thanks. I’m learning about child themes and all that great stuff.

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

The topic ‘wrapper code in css’ is closed to new replies.