- This topic has 31 replies, 2 voices, and was last updated 4 years, 3 months ago by
Mohammed.
-
AuthorPosts
-
December 9, 2021 at 6:27 pm #2044184
Mohammed
Can you please just explain briefly what you did?
the difference between the first css and the last one
December 9, 2021 at 6:43 pm #2044189Ying
StaffCustomer SupportHard 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/
December 9, 2021 at 6:54 pm #2044195Mohammed
Ok. i know flex box a bit.
I mean the selector is not the same.
December 10, 2021 at 11:08 am #2045105Ying
StaffCustomer SupportBecause 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 insidegb-inside-container🙂December 10, 2021 at 11:21 am #2045125Mohammed
Ok i see thanks for the explanation.
December 10, 2021 at 11:56 am #2045144Ying
StaffCustomer SupportNo problem 🙂
December 10, 2021 at 3:24 pm #2045271Mohammed
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.
December 10, 2021 at 4:05 pm #2045289Ying
StaffCustomer Supportchange the CSS to:
.post-meta-flex > .gb-inside-container { display: flex; flex-direction: column; justify-content: space-between; flex: 1; }December 10, 2021 at 4:18 pm #2045301Mohammed
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 ??
December 10, 2021 at 4:42 pm #2045312Ying
StaffCustomer SupportSo if i want to apply custom flex, i’ll have to add the > .gb-inside-container ??
Yes, GB adds an
gb-inside-containerto thecontainerblock 🙂December 10, 2021 at 4:52 pm #2045316Mohammed
So why it was not applied to the first CSS?
it was just
.align-buttons {
display: flex;
justify-content: flex-end;
flex-direction: column;}
December 10, 2021 at 4:56 pm #2045317Ying
StaffCustomer SupportIt’s just for different purposes.
December 11, 2021 at 3:03 pm #2046035Mohammed
Ok thank you very much for all your help.
December 11, 2021 at 3:23 pm #2046048Ying
StaffCustomer SupportNo problem 🙂
December 12, 2021 at 1:40 pm #2046794Mohammed
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.
-
AuthorPosts
- You must be logged in to reply to this topic.