[Resolved] content-area full height ?

Home Forums Support [Resolved] content-area full height ?

Home Forums Support content-area full height ?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1385686
    Eaydman

    Hi,

    My sidebar is often bigger then my blogpost.

    See screenshot: https://share.getcloudapp.com/xQuLeQD6

    Is it possible somehow to make the content-area and sidebar equal heights ?

    #1385724
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site ? You can do so privately by editing the original topic and using the Site URL field.

    #1385903
    Eaydman

    I have edit the Site url.

    But i have made a quick fix by adding this:

    body.single-post {
    background: -webkit-gradient(linear, left top, right top, color-stop(26.5%, #efefef), color-stop(26.5%, white));
    background: linear-gradient(90deg, #efefef 26.5%, white 26.5%);
    }

    But have you a better way ?

    #1385960
    David
    Staff
    Customer Support

    Where can i see that test post ?

    #1385970
    Eaydman

    Check the post topic URL ๐Ÿ™‚

    #1386111
    David
    Staff
    Customer Support

    For me that URL – the content is as long as the sidebar and theres the comments container in addition to that.

    #1386146
    Eaydman

    Yes because I added that body.single-post background color.

    Is im looking for a way of making content-area and sidebar equal height

    #1386257
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this a shot:

    @media (min-width: 769px) {
        .site-content {
            display: flex;
        }
    }
    #1386390
    Eaydman

    No it does not work when I add:

    @media
    (min-width: 769px) {
    .site-content {
    display: flex;
    }
    }

    #1386643
    David
    Staff
    Customer Support

    Try this CSS:

    @media(min-width: 768px) {
        .site-content, .site-main {
            display: flex;
            height: 100%;
        }
        .site-main .inside-article {
            height: calc( 100% - 65px );
        }
    }
    #1387599
    Eaydman

    Thanks that works ๐Ÿ™‚

    #1387867
    David
    Staff
    Customer Support

    You’re welcome

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