Support ForumRemove image overlay on posts homepage and display featured image in single detail header – Support Forum https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/feed/ Sun, 05 May 2024 19:43:20 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16739 <![CDATA[Remove image overlay on posts homepage and display featured image in single detail header]]> https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16739 Wed, 11 Jul 2018 01:29:36 +0000 jtj3 I have two problems with featured images that I think are related…but I’m not if they are separate problems or have the same cause.

My home page is at https://travelstoriesandimages.com. If you look at the home page, my latest post is at the top. The image is nice and bright – it looks like the only thing overlaying it is the letter “y” – which is the first letter of the post title. But if you look at the featured images on the other posts that show up on the home page, they look like there’s a semi-transparent layer over all them – they’re darker. I’d like all the post images on the home page/blog page to show up with no overlay at all. I read some instructions on the forum here and tried following them, but I must have goofed something up because of how the images appear.

The other (possibly) related thing is that when I pull up an individual post, the featured image does not appear at the top of the post. I have a feeling that this is due to one of the options I changed, but I can’t seem to get back to the point where the featured image displays on a given post.

Can you help?

]]>
https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16743 <![CDATA[Reply To: Remove image overlay on posts homepage and display featured image in single detail header]]> https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16743 Thu, 12 Jul 2018 07:58:43 +0000 IshYoBoy Hey,

To remove the opacity on the mentioned page just use a little CSS:

To make the featured image display in the Tagline area of your post detail page just set it:

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16747 <![CDATA[Reply To: Remove image overlay on posts homepage and display featured image in single detail header]]> https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16747 Thu, 12 Jul 2018 12:27:58 +0000 jtj3 Thank you. I’ll try the CSS now, and I’m sure that will correct my opacity problem.

For the second issue with the featured image – is there a way to change it so that the featured image is always used in the tagline area? I always want this behavior, and I may inadvertently miss checking the box on a given post.

Thanks again for the great support.

]]>
https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16749 <![CDATA[Reply To: Remove image overlay on posts homepage and display featured image in single detail header]]> https://support.ishyoboy.com/forums/topic/remove-image-overlay-on-posts-homepage-and-display-featured-image-in-single-detail-header/#post-16749 Thu, 12 Jul 2018 14:16:57 +0000 IshYoBoy This change is not update safe and will only work on new posts:

Locate the file:
wp-content/themes/kopy/assets/framework/wp/posts/custom-meta-boxes.php

On line 150 change the “false” to “true”:

A thought:
To make it update safe you could apply a filter to ish_metabox_posttypes and detect taglines_settings and in that case provide an empty array so the metabox is not registered. Then copy the code from the file above and register the metabox from your child theme.

Alternative:
Alternatively override the ishyoboy_get_part_tagline() function located in this file themes/kopy/assets/framework/wp/options/custom-functions.php by copying it to your child theme’s functions.php file and amend the code and always set $use_bg_image to true :)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>