[Resolved] read more button fixed position

Home Forums Support [Resolved] read more button fixed position

Home Forums Support read more button fixed position

Viewing 15 posts - 16 through 30 (of 32 total)
  • Author
    Posts
  • #2044184
    Mohammed

    Can you please just explain briefly what you did?

    the difference between the first css and the last one

    #2044189
    Ying
    Staff
    Customer Support

    Hard to explain… I’m never good at this..

    Here’s a guide on Flexbox, I learned it from this link: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

    #2044195
    Mohammed

    Ok. i know flex box a bit.

    I mean the selector is not the same.

    #2045105
    Ying
    Staff
    Customer Support

    Because all the headline blocks are actually nested in the .gb-container.align-button > .gb-inside-container, so I use flexbox to re-do the layout inside gb-inside-container πŸ™‚

    #2045125
    Mohammed

    Ok i see thanks for the explanation.

    #2045144
    Ying
    Staff
    Customer Support

    No problem πŸ™‚

    #2045271
    Mohammed

    Can you please quickly help with this too, this will help me understand

    i need the date to go to the bottom

    i added a classe “post-meta-flex” to the container of the last blog square and the date

    and then added this css

    .post-meta-flex {
    display:flex;
    flex-direction: column;
    align-content: space-between;
    }

    but it’s not working. I might be missing or mis applying something here.

    #2045289
    Ying
    Staff
    Customer Support

    change the CSS to:

    .post-meta-flex > .gb-inside-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
    }
    #2045301
    Mohammed

    Ah ok, i forget that i changed the css to align-content.

    So if i want to apply custom flex, i’ll have to add the > .gb-inside-container ??

    #2045312
    Ying
    Staff
    Customer Support

    So if i want to apply custom flex, i’ll have to add the > .gb-inside-container ??

    Yes, GB adds an gb-inside-container to the containerblock πŸ™‚

    #2045316
    Mohammed

    So why it was not applied to the first CSS?

    it was just

    .align-buttons {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;

    }

    #2045317
    Ying
    Staff
    Customer Support

    It’s just for different purposes.

    #2046035
    Mohammed

    Ok thank you very much for all your help.

    #2046048
    Ying
    Staff
    Customer Support

    No problem πŸ™‚

    #2046794
    Mohammed

    Can you please help with this too.

    I applied same CSS for the blog post template ) to the post navigation

    but it’s not working.

    I don’t have much time for this, would appreciate your help on this with a brief explanation.

    thanks.

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