Hi! I did this, but don't work! The hero image continue showing in the portfolio pages. See the prints after I replace the code...
And in the footer portfolio pages, I would like the image background not to appear, only the background color defined for the post portfolio appears. It's possible to help me in this point too?
Hi Support.
I like to solve the same topic in my theme: https://clapat.ticksy.com//ticket/3224053/.
I like to hide the hero image all together within my portfolio item and yet keep having a thumbnail.
Can you help me?
Thanks!
Hi there, yes I think we can help. if you can open /sections/hero_section_container.php (path relative to root theme folder)
and replace line 32 from
<?php if( $humpton_hero_properties->image && !empty( $humpton_hero_properties->image['url'] ) ){ ?>
to
<?php if( $humpton_hero_properties->image && !empty( $humpton_hero_properties->image['url'] ) && is_singular( 'humpton_portfolio' ) ){ ?>
this will always disable the hero image in portfolio pages but keep them, if set, in regular pages
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi! I did this, but don't work! The hero image continue showing in the portfolio pages. See the prints after I replace the code...
And in the footer portfolio pages, I would like the image background not to appear, only the background color defined for the post portfolio appears. It's possible to help me in this point too?
Thanks! :)
Attached files: Screen Shot 2023-06-29 at 09.16.50.png
Screen Shot 2023-06-29 at 09.18.19.png
Screen Shot 2023-06-29 at 09.18.30.png
Sorry, my mistake the correct code should be
<?php if( $humpton_hero_properties->image && !empty( $humpton_hero_properties->image['url'] ) && !is_singular( 'humpton_portfolio' ) ){ ?>
I missed an exclamation sign
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy