- This topic has 26 replies, 5 voices, and was last updated 5 years, 4 months ago by
Leo.
-
AuthorPosts
-
November 28, 2020 at 8:44 am #1555097
Sara Genone
ops 🙂
Thank youNovember 28, 2020 at 8:53 am #1555118David
StaffCustomer SupportNo problem – glad to be of help.
November 30, 2020 at 11:59 pm #1559840Darshil
Hey David,
I want to remove this bug image. It is a duplicate that is being shown above the featured post and outside container
December 1, 2020 at 12:24 am #1559865Elvin
StaffCustomer SupportHi,
Can you look for any actions or filters that adds something to
generate_after_header?You seem to have a PHP snippet that adds an extra featured image markup hooked to
generate_after_header.Make sure to purge all cache after doing any changes. 🙂
December 1, 2020 at 12:48 am #1559903Darshil
Clearing Cache didn’t work. Where do I look for the things that you mentioned Elvin?
December 1, 2020 at 12:57 am #1559910Elvin
StaffCustomer SupportHi,
You can check Hook Elements, Child theme files(functions.php or any child theme .php files) or Code Snippets plugin(if you’re using one) for any thing that’s hooked to
generate_after_header.Alternatively, the lazy way is to simply remove it from display with CSS:
body > .featured-image.page-header-image.grid-container.grid-parent { display: none; }December 1, 2020 at 1:05 am #1559915Darshil
Hey Elvin! I found the line Generate after header in the child theme’s functions PHP. I am sharing the entire code with you.
December 1, 2020 at 4:16 am #1560174David
StaffCustomer SupportI explained here what you need to remove from your child theme functions.php
https://generatepress.com/forums/topic/fixing-the-spacing-in-header-and-footer/#post-1555061
December 1, 2020 at 4:33 am #1560199Darshil
Hi David, I removed the code that you mentioned.
It actually removed the featured image that was in the container, the featured image that lied outside the container was not removed.
I wanted to remove the feature image that was outside the container. You can check the page link that I am sharing right now.
I want the featured image that is outside the container to get into the container.
Thanks!
December 1, 2020 at 6:54 am #1560563David
StaffCustomer SupportRemove the function.
Then go to Customizer > Layout > Blog –> Featured Images >>> Post and set its Location to Above Content AreaDecember 1, 2020 at 8:44 am #1560887Darshil
Bingo. Thanks David.
Also,I use a plugin to add the background image (skyblue) that is present outside the container. Is it possible to do that using GP Premium?
December 1, 2020 at 11:03 am #1561685Leo
StaffCustomer SupportThat should be the body background under Customizer > Background Images > Body.
-
AuthorPosts
- You must be logged in to reply to this topic.