1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to remove sidebar in twenty fifteen theme?

Discussion in 'WordPress' started by garry420, Mar 24, 2016.

  1. #1
    Can anyone tell how to remove sidebar in twenty fifteen theme.
    I don't want any sidebar in my website.
    waiting for answers.

    Tnx
     
    garry420, Mar 24, 2016 IP
  2. chellosp

    chellosp Well-Known Member

    Messages:
    87
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    115
    #2
    Here: http://celloexpressions.com/blog/twenty-fifteen-no-sidebar/
     
    chellosp, Mar 26, 2016 IP
  3. drestauro

    drestauro Member

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    35
    #3
    This CSS should do it

    body::before {
    display: none;
    }
    Code (markup):
    If you want to use the sidebar real estate and stretch the content section you can add this

    .site-content {
    float: none;
    margin-left: none;
    width: 100%;
    }
    .site {
    max-width: 100%;
    }
    Code (markup):
     
    drestauro, Mar 26, 2016 IP
  4. garry420

    garry420 Well-Known Member

    Messages:
    284
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    110
    #4
    job done tnx for the help
     
    garry420, Mar 28, 2016 IP