Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there Aqif Majid,

    How are you doing today?

    This should be possible by using media queries and single post selector. Since MesoColumn has its own custom CSS tab which is located in Appearance -> Theme Options -> Custom CSS you can try adding the following code there:

    @media screen and (max-width: 768px) {
    .single .content {
      width: 100%;
    }
    
    div#right-sidebar {
      display: none;
    }
    }

    This should remove sidebar and make content full width on single post pages only on resolutions smaller then 768px. If the code doesn’t work please keep it added and post link to your site so I can take a look ??

    Best regards,
    Bojan

    Theme Author Richie KS

    (@rkcorp)

    yeap. that should do it.

    Thread Starter Starlord

    (@aqif-majid)

    What If we want to do it only in single post pages not on all pages like home etc.

    Theme Author Richie KS

    (@rkcorp)

    @media screen and (max-width: 768px) {
    body.single .content {
      width: 100%;
    }
    
    body.single div#right-sidebar {
      display: none;
    }
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove side bar in responsive’ is closed to new replies.