[Resolved] Container Problem With Sidebar

Home Forums Support [Resolved] Container Problem With Sidebar

Home Forums Support Container Problem With Sidebar

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1146425
    Shubham

    Hey.
    I want to ask that how can I get this size of container and sidebar
    on my website.
    https://www.masterincoding.com/what-is-string-in-java/

    I am trying to adjust container but it is not matching with the width of this website.

    Also, I am using content-aware sidebar plugin

    #1146840
    David
    Staff
    Customer Support

    Hi there,

    that site uses fixed widths for the sidebars and content which leads to sidewards scrolling on smaller screens.
    What exactly you trying to achieve ? Is it a fixed sized sidebar for the Adverts ? Lets us know.

    #1146846
    Shubham

    Hi David,
    I am talking about the Desktop version and I want to achieve the main container width and position.
    I am trying to increase container size from customization but it’s not going more than 1200

    #1146850
    David
    Staff
    Customer Support

    Can you disable your cache so i can take a look at whats causing that.

    #1146855
    Shubham

    Yes, I did that.
    Please have a look now.

    #1147221
    David
    Staff
    Customer Support
    #1147247
    Shubham

    Oh ok.
    You’re awesome David.

    Yes, now it’s working fine.
    But what if I want to left-align my sidebar and main container?
    I want to remove space from the left side of the left sidebar.

    #1147414
    David
    Staff
    Customer Support

    So the left sidebar sits on lefthand edge of the browser viewport ?

    #1147777
    Shubham

    Yes, I want left sidebar on the left hand of the browser along with the main container.

    #1148086
    David
    Staff
    Customer Support

    If you delete the Layout Element, then in Customizer > Layout > Container set the Container Width to 1300px it will match the other sites dimensions.

    Then the only other thing is to enable the righthand sidebar to match.

    #1148099
    Shubham

    I already deleted that and now it is matching other sites dimension.
    What I am asking that I want to lift align all my container to left-hand as of now it is aligned to the center.
    Like I want less space on the left side of the left-sidebar and more space on the right side of the right sidebar.
    Please refer to the image.
    Now: https://ibb.co/GRyqDBm
    What I want: https://ibb.co/B2L8HkB

    #1148258
    David
    Staff
    Customer Support

    So this code will align the entire single post including the nav to the left:

    @media (min-width: 769px) {
        .single-post .grid-container {
            margin-left: 40px !important;
        }
    }

    If you want to just shift the content and sidebar then use this CSS instead:

    @media (min-width: 769px) {
        .single-post #page.grid-container {
            margin-left: 40px !important;
        }
    }
    #1148266
    Shubham

    That is working.

    Thanks a lot, man.
    Really appreciated.

    #1148309
    David
    Staff
    Customer Support

    You’re welcome

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.