Support » Themes and Templates » Change width sidebar for ONE page

  • Hi all,

    I know this question the ‘how to change the width of sidebar on one page?’ has been asked before a lot, but the things I found didn’t solve my problem..
    As you can see on my TWENTYFOURTEEN website ( I want the sidebar(= the black background) on the first page to be as wide as the photo. In CSS I tried this:

    .page-id-25 #secondary {width: 838px;}

    But that will only work for the width of the photo. It won’t change the width of the sidebar.. The thing that changes the width of the sidebar:

    @media screen and (min-width: 1080px)
    {.site:before {width: 422px;} }

    But that only works for all the pages. Is there a way to make it wider than 422px only on the first page? I would appreciate your help very much!!

    PS: I’m doubting that the black background actually IS the sidebar.. Is it or is it not?

  • The topic ‘Change width sidebar for ONE page’ is closed to new replies.