Change width sidebar for ONE page (1 post)

  1. gehaktmolen
    Posted 2 years ago #

    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 (http://www.danielelgersma.com) 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?

Topic Closed

This topic has been closed to new replies.

About this Topic