At my portfolio-detail pages I wanted to show the ‘featured image’ as a header. It now just shows the image as a ‘image’ but not as a fullwidth header. If it is even possible I want to show the title of the page inside of the header just as a Easy Slider full width.
Anybody can help me with this?
Hey rob_alblasserdam!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.single-portfolio .page-thumb {
display: none;
}
Then refer to this post – http://kriesi.at/documentation/enfold/color-section-with-100-container/ and add your featured image inside that custom color section element.
Regards,
Yigit
Hi Yigit,
Thanks for your reply!
Let me get this straight:
1. With the CSS-code I remove the head-image generated
2. With the explanation in the link I add a new section add set the header as a custom image background.
Unfortunately this is not exactly what I want. I don’t want the use Avia layout builder at the portfolio pages. And also for all the items I’ve set the featured image so I hope there is a script which I can put in my Child-theme that sets the featured image in my header.
Hi!
Could you please provide a screenshot of the expected layout? You can modify the taxonomy-portfolio_entries.php file and place the featured image container above this code:
do_action( 'ava_after_main_title' );
.. Or use the “ava_after_main_title”. Example here:
// https://kriesi.at/support/topic/insert-color-section-on-each-single-portfolio-post/
// https://kriesi.at/support/topic/hook-to-insert-html-under-logo/#post-643837
Best regards,
Ismael