- This topic has 23 replies, 5 voices, and was last updated 8 years, 5 months ago by figure2.
-
AuthorPosts
-
September 10, 2014 at 8:58 pm #43641tess graumansMember
I’ve posted two articles now and i’ve set a featured image for both so they appear in the postslider. When you click on my first post the header remains the same as the homepage, but when you click on my second post the featured image replaces the header. I want the homepage header to stay visible at all time.
Thank you so much!September 11, 2014 at 12:23 am #43668SakinKeymaster@tess graumans: That header image is define like that. It will be replaced by featured image in the posts/pages. So, if you want same image to show in header all the time, then I recommend you to use that image as logo. So, upload that image in “Appearance => Theme Options => Header Options” and add in your image in “Logo url”. This logo image will be showing to all the page and it will not be replaces by header image.
But if you want to continue using Header Image and want the same image to show in all the pages. Then you need to upgrade to pro version, where you will get option in “Appearance => Theme Options => Header Featured Image Options. For more about pro version, check out http://catchthemes.com/theme-instructions/catch-evolution-pro/
September 11, 2014 at 12:51 am #43671tess graumansMemberHi Sakin, thank you for your answer. The thing that I don’t understand is why in some posts the header gets replaced and in some posts not. Could this be a bug in the theme?
September 11, 2014 at 12:55 am #43672SakinKeymaster@tess graumans: No it’s not bug. We have carefully drafted it this module in free version with default WordPress settings and then more option in Pro version.
Post which has featured image will get it replace and in which you don’t have featured image then it will not get replaced.
September 11, 2014 at 1:00 am #43673tess graumansMemberBut in both the posts I’ve set a featured image, and they both appear in the slider on the homepage..
I didn’t mean to offend by asking it was a bug, I was just wondering. I love the theme 😉
September 11, 2014 at 1:02 am #43675SakinKeymaster@tess graumans: It’s strange. Can you send me your site URL. Then I can check in.
September 11, 2014 at 1:08 am #43676tess graumansMembersure! It’s http://www.kos-mos.nl
I’ve made a child-theme so I could change some csscodes. Could this be where the problem lies?
September 11, 2014 at 8:01 am #43684SakinKeymasterIf you are using Child theme, then there is simple solution. Just go to your child theme and create new file called
functions.php
and then add the following codes:<?php /** * Catch Evolution Child Theme functions and definitions * */ /** * Header Image * * Uses Custom Header and Featued Images * @Hooked in catchevolution_headercontent * @since Catch Evolution 1.0 */ function catchevolution_featured_header() { global $wp_query,$_wp_default_headers; // Header Image $header_image_path = get_header_image(); if ( get_header_image() ) : ?> <div id="header-image"> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> </div> <?php endif; } // catchevolution_featured_header
September 11, 2014 at 9:27 am #43693tess graumansMemberThnx! I’m gonna give that a try 🙂
September 21, 2014 at 6:05 pm #44251tess graumansMemberSorry for my late reply. But it worked finally! Thank you so much for your help 😀
June 16, 2015 at 10:20 am #59615kathiejsMemberI have the same issue – my featured images are often in portrait orientation so are totally the wrong shape for a header. The header ends up being enormous and then you have to scroll a long way to get to the text – it’s especially inconvenient on a tablet.
I want a featured image so that it shows in the archive with the excerpts, but I’m quite happy for it not to appear at all on the post page, rather than have this huge header. Is this possible? I love the theme, but if I can’t resolve this I’ll have to ditch it 🙁
June 17, 2015 at 10:14 am #59675June 20, 2015 at 6:42 am #59828kathiejsMemberI switched to Responsive to try that out (my site is very new), then switched by to Evolution because I really prefer it, and the issue doesn’t occur now – not sure what’s different. Thanks anyway.
June 21, 2015 at 9:53 am #59864kathiejsMemberAh, I’ve realised that it does it still in new posts. However, it appears that if you hit Publish without setting a featured image, the select the featured image and hit Update, then you get your featured image in archives lists but it doesn’t jump into the header when you view the post. Phew! Because it was really, really annoying – none of my featured images are a suitable shape for a header. It’s still a bit of a pain though, because if you make any changes to the post you have to go through the whole rigmarole of resetting it to draft and starting again.
June 21, 2015 at 10:29 am #59869kathiejsMemberSorry, ignore my previous – that fix doesn’t work. Is there any way of disabling this feature through custom CSS please?
June 21, 2015 at 10:29 am #59870June 23, 2015 at 10:51 am #59965SakinKeymaster@kathiejs: When I check in your site, its’ working fine. I am bit confused which option what you want to disable.
June 23, 2015 at 8:34 pm #59989kathiejsMemberI don’t want the featured image to take over the header in posts. It may be OK on a desktop, but on a tablet it creates a disproportionately deep header image – you can’t even see all the image at once as you scroll down through it to the text.
I want to have a featured image show with the excerpt on the archive page, but keep my regular header image on all pages.
June 23, 2015 at 10:47 pm #60001SakinKeymaster@kathiejs: that option is there only in Pro version where you will get “Header Featured Image Options”. But in free version, you need to build child. For child theme and sample child themes, refer to http://catchthemes.com/blog/create-child-theme-wordpress/ and the add the following code in your child theme
functions.php
file:/** * Header Image */ function catchevolution_featured_header() { if ( get_header_image() ) : ?> <div id="header-image"> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> </div> <?php endif; } // catchevolution_featured_header
June 24, 2015 at 7:52 am #60027kathiejsMemberThat’s really disappointing. I’m just a complete novice hobby blogger working from a tablet in a hotel room – creating a child theme is beyond me at this stage. Maybe after I return home in a year or two.
I’m going to have to change themes then. Can you please tell me which of Catch’s other free themes is most like Evolution in the sense that it will support (through custom css or plug-ins if necessary):-
– blog archive shows excerpt with featured image thumbnail
– featured image is not displayed at the top when viewing the post
– randomised header images
– main menu appears below the header image
– options for 2 column (sidebar on right) and full width content
– responsive layout
– can disable comments on home page
– can have breadcrumb trail instead of page title
– default font is non-serif
– custom css
– can have logo instead of site titlePS I don’t know if you’re aware, but the ‘featured image into header’ doesn’t appear to work on posts that were created in a previous theme before Evolution was activated. That’s why I installed it in the first place – this feature only became apparent later when I created new posts.
Thanks
-
AuthorPosts
- The topic ‘Featured Image takes over the header in posts’ is closed to new replies.