- This topic has 31 replies, 2 voices, and was last updated 4 years, 3 months ago by
Mohammed.
-
AuthorPosts
-
December 7, 2021 at 11:10 am #2041570
Mohammed
Hi,
thanks for your theme and generate blocks.
How i can i have the read more button at fixed position, 45px from the bottom.
Thanks.
December 7, 2021 at 11:59 am #2041623Mohammed
Also, how can i set the right and left margin? i’m not finding the css classe.
Would appreciate your help on this as well to gain some time.
Thanks.
December 7, 2021 at 12:15 pm #2041631Ying
StaffCustomer SupportHi Mohammed,
Give this CSS a try:
.align-buttons { display: flex; justify-content: flex-end; flex-direction: column; }Then increase the margin top of the
buttonsblock.how can i set the right and left margin?
What element are you asking for?
December 7, 2021 at 2:16 pm #2041726Mohammed
Thank you Yin,
that worked, but it changed the top content positioning. I’ll have to see that later on, maybe with minimum height on each elements.
For the margin, i’m talking about the page sides margin.
December 7, 2021 at 2:54 pm #2041757Ying
StaffCustomer Supportmaybe with minimum height on each elements.
Yes, it’s better to specify the height for each device. Or just simple add a media query on my CSS just for mobile.
For the margin, it’s better to use padding instead:
.blog #content { padding-left: 20px; padding-right: 20px; }December 7, 2021 at 3:11 pm #2041771Mohammed
Ok thank you very much for the help.
December 7, 2021 at 3:39 pm #2041787Ying
StaffCustomer SupportYou are welcome 🙂
December 9, 2021 at 3:19 pm #2044108Mohammed
Can we have an even space at the top with this? I’m not finding how atm
December 9, 2021 at 3:22 pm #2044110Ying
StaffCustomer SupportThen it’s better remove the min-height you set for container block.
December 9, 2021 at 3:44 pm #2044128Mohammed
I edited this because it was not resolved.
December 9, 2021 at 3:47 pm #2044129Mohammed
Ah sorry, that didn’t fixed the issue. forget it will change depending on the device size.
what i want is having the same top space on all posts, not dependent on the elements size.
December 9, 2021 at 3:55 pm #2044132Mohammed
i can’t remove the min-height. Post won’t have same height
December 9, 2021 at 5:47 pm #2044161Ying
StaffCustomer SupportGive this CSS a try:
.align-buttons > .gb-inside-container { display: flex; flex-direction: column; justify-content: space-between; flex: 1; } .blog-button { margin-top: auto !important; }December 9, 2021 at 5:59 pm #2044171Mohammed
Yes that worked.
thank you very much.
December 9, 2021 at 6:17 pm #2044182Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.