Can I change my desktop view to permanently show as tablet or mobile view?

  • Unknown's avatar

    My current WordPress theme Gazette, does not allow for the removal of the sidebar, however when I test the view layout in Tablet or Mobile view, as opposed to Desktop, the sidebar vanishes.

    Is there a way to permanently set the page’s view to Tablet or Mobile for when it opens on a desktop?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The hiding of the sidebar at narrower screen widths is done with Javascript within the theme files themselves. About the best we can do is to make the content area full width and move the sidebar down below the content. Go to Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS and save and then visit your site and see what you think.

    @media screen and (min-width: 960px) {
      .page .site-main, .single .site-main {
        width: 100%;
      }
      .page #secondary, .single #secondary {
        width: 100%;
      }
    }
  • The topic ‘Can I change my desktop view to permanently show as tablet or mobile view?’ is closed to new replies.