- This topic has 26 replies, 3 voices, and was last updated 3 years, 7 months ago by
Fernando.
-
AuthorPosts
-
September 28, 2022 at 10:50 pm #2357209
Fernando Customer Support
Can you re-share the link to the site in question?
September 28, 2022 at 10:54 pm #2357211Pintu
Added in the private section.
September 28, 2022 at 11:11 pm #2357223Pintu
Hi, Fernando any updates?
September 28, 2022 at 11:39 pm #2357234Fernando Customer Support
Is the first Article/featured article created with a separate Content Template? Can you add
my-featured-imageto the class list of the Container Block holding everything in the Featured image content template?September 28, 2022 at 11:42 pm #2357241Pintu
Added the class.
And yes the first Article/featured article was created with a separate Content Template which is “Apply to First Post.”
September 28, 2022 at 11:52 pm #2357254Fernando Customer Support
Alright! Can you first remove the code I provided. And, can you also add
my-articleto the Container Block holding everything in the other Content template?September 28, 2022 at 11:54 pm #2357256Pintu
“Can you first remove the code I provided.” Do you mean the CSS or the
my-featured-imageclass?September 28, 2022 at 11:56 pm #2357258Fernando Customer Support
The one here: https://generatepress.com/forums/topic/how-to-make-every-generateblocks-column-size/#post-2357166
I’ll check why it’s causing the issue and how to address it. I’m assuming I missed taking the Featured post into consideration.
September 28, 2022 at 11:59 pm #2357259Pintu
I’ve removed the CSS and added the
my-articleclass. Please check.September 29, 2022 at 12:02 am #2357263Fernando Customer Support
Thank you!
Try this instead:
.dynamic-content-template > .gb-container.my-article, .dynamic-content-template > .gb-container.my-article > .gb-inside-container { height: 100%; } .dynamic-content-template > .gb-container.my-article > .gb-inside-container { display: flex; flex-direction: column; } .dynamic-content-template > .gb-container.my-article > .gb-inside-container > .gb-container { flex-grow: 1; } .dynamic-content-template > .gb-container.my-article > .gb-inside-container > .gb-container > .gb-inside-container { display: flex; flex-direction: column; height: 100%; } .dynamic-content-template > .gb-container.my-article > .gb-inside-container > .gb-container > .gb-inside-container > .gb-button-wrapper { margin-top: auto; }September 29, 2022 at 12:08 am #2357271Pintu
Thanks, it is perfect now.
So, can I remove the
my-featured-imageclass from the featured article container? Or, should I leave everything as it is.Thanks once again for your help. 🙂
September 29, 2022 at 12:11 am #2357275Fernando Customer Support
Yes, you can remove that. I was using it to test at first.
You’re welcome Pintu!
-
AuthorPosts
- You must be logged in to reply to this topic.