Hello Support Team,
How to remove the features image on pages, I only found a solution for posts.
I would like to remove this code: <header class=”entry-content-header”><div class=’page-thumb’><img width=”1210″ height=”423″ src=”xxxxxxxxxxxxxx”
It appears when I choose a featured image on pages
Regards
Andre
Hi Andre,
You will need to use a child theme for the solution.
1. Copy loop-page.php (inside includes folder of Enfold)
2. Create a new folder inside your child theme and name it includes
3. Paste loop-page.php in the includes folder
4. Edit loop-page.php and remove this code (should be in line 21-30):
echo '<header class="entry-content-header">';
$thumb = get_the_post_thumbnail( get_the_ID(), $avia_config['size'] );
if( $thumb )
{
echo "<div class='page-thumb'>{$thumb}</div>";
}
echo '</header>';
Hope this helps.
Best regards,
Nikko
That worked! Thank you for your fast support!
Hi TT2495,
You’re welcome :)
I’m glad that we could help.
Thanks for using Enfold and have a great day!
Best regards,
Nikko