Smaller sidebar in tablet portrait orientation

  • Posted in : Readme
  • crneuman
    Participant

    Would very much like to shrink the sidebar width for the tablet size. With an iPad in portrait orientation, the sidebar takes up almost half of the screen on both the main blog page (masonry + sidebar) and the individual page or blog page with sidebar.

    I tried shrinking the sidebar size in the 768.css, but that also shrunk the sidebar in desktop view as well.

    Any suggestions?

    serkan
    Moderator

    Could you provide me your url please ?

    crneuman
    Participant

    neumediaauto.com

    serkan
    Moderator

    You can use this custom css code.

    @media screen and (min-width: 768px) {
    .sidebar { width: 25%; } }
    @media screen and (min-width: 768px) {
    .with-sidebar { width: 75%; } }
    crneuman
    Participant

    Looks great on iPad, but on my laptop, the content and sidebar have moved over to the right a bit. No longer centered.

    crneuman
    Participant

    Any ideas?

    serkan
    Moderator

    You can use this custom css code
    @media screen and (min-width: 768px) and (max-width: 991px) { .sidebar { width: 25%; } }
    @media screen and (min-width: 768px) and (max-width: 991px) { .with-sidebar { width: 75%; } }
    Thanks

    crneuman
    Participant

    Works great. Thanks.

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register