• Resolved xirnibor

    (@xirnibor)


    hello, i’m looking to edit the padding on the main-wrap content area of my home page. the current sytle.css has the whole site padding at 40px, – i’ve tried adding this to my custom css, however it’s not working – any help is appreciated

    ***my added code to custom css
    .home page page-id-1111 page-child parent-pageid-1062 page-template-default .main-wrap {margin: 0 auto; overflow: visible; padding: 20px 0; position: relative; width: 960px; z-index: 1;}

Viewing 2 replies - 1 through 2 (of 2 total)
  • ***my added code to custom css

    try to correct the CSS syntax:

    .home.page.page-id-1111.page-child.parent-pageid-1062.page-template-default .main-wrap {margin: 0 auto; overflow: visible; padding: 20px 0; position: relative; width: 960px; z-index: 1;}

    or simply try to use:

    .home .main-wrap {margin: 0 auto; overflow: visible; padding: 20px 0; position: relative; width: 960px; z-index: 1;}

    Thread Starter xirnibor

    (@xirnibor)

    thanks for your help. a variation of your second suggestion worked

    .home #main-wrap {margin: 0 auto; overflow: visible; padding: 20px 0; position: relative; width: 960px; z-index: 1;}

    thanks again,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘main-wrap on just home page’ is closed to new replies.