[Resolved] How to make every GenerateBlocks Column size

Home Forums Support [Resolved] How to make every GenerateBlocks Column size

Home Forums Support How to make every GenerateBlocks Column size

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #2356184
    Pintu

    Hi, how to make all columns the exact same size, currently the column does not have the same length. https://ibb.co/gvpmRgr

    Can you share the CSS that will make it happen? Thanks

    #2356819
    Ying
    Staff
    Customer Support

    It’s not possible based on your current HTML structure.

    Can you wrap a containerblock outside the author name/avatar and post date?
    https://www.screencast.com/t/JgWWoR9eUXQ

    Once it’s done, we can offer some CSS to achieve this.

    #2357080
    Pintu

    How do I do that can you please tell me?

    #2357091
    Fernando
    Customer Support

    Hi Pintu,

    Just add a new Container Block within your Container Block, and drag and drop those Block mentioned by Ying there.

    #2357102
    Pintu

    I did, can you now check?

    #2357144
    Pintu

    Added a new Container Block within the Container Block and did all that mentioned by Ying. Now can you please check and provide the CSS?

    #2357150
    Fernando
    Customer Support

    Great. Now try adding this CSS:

    .blog .dynamic-content-template > .gb-container, .dynamic-content-template > .gb-container > .gb-inside-container {
        height: 100%;
    }
    
    .blog .dynamic-content-template > .gb-container > .gb-inside-container {
        display: flex;
        flex-direction: column;
    }
    
    .blog .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container {
        flex-grow: 1;
    }
    
    .blog .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container > .gb-inside-container {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .blog .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container > .gb-inside-container > .gb-button-wrapper {
        margin-top: auto;
    }
    #2357156
    Pintu

    Thanks.

    But it only applies on the front page, not on the category pages.

    #2357160
    Pintu

    Can you also provide CSS for the category pages? Thanks

    #2357161
    Fernando
    Customer Support

    Are you using the same Content Template for all Archive pages as well?

    #2357163
    Pintu

    Yes.

    #2357166
    Fernando
    Customer Support

    Try this instead:

    .dynamic-content-template > .gb-container, .dynamic-content-template > .gb-container > .gb-inside-container {
        height: 100%;
    }
    
    .dynamic-content-template > .gb-container > .gb-inside-container {
        display: flex;
        flex-direction: column;
    }
    
    .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container {
        flex-grow: 1;
    }
    
    .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container > .gb-inside-container {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .dynamic-content-template > .gb-container > .gb-inside-container > .gb-container > .gb-inside-container > .gb-button-wrapper {
        margin-top: auto;
    }
    #2357169
    Pintu

    It worked! Thanks a lot ๐Ÿ™‚

    #2357171
    Fernando
    Customer Support

    You’re welcome Pintu! ๐Ÿ™‚

    #2357206
    Pintu

    Hi, Fernando after adding the CSS one of the headings on the homepage not showing properly https://ibb.co/Sx055jX

    Please tell me the fix.

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