Tagged: ,

Viewing 20 posts - 1 through 20 (of 24 total)
  • Author
    Posts
  • #43641

    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!

    #43668
    Sakin
    Keymaster

    @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/

    #43671

    Hi 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?

    #43672
    Sakin
    Keymaster

    @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.

    #43673

    But 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 😉

    #43675
    Sakin
    Keymaster

    @tess graumans: It’s strange. Can you send me your site URL. Then I can check in.

    #43676

    sure! 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?

    #43684
    Sakin
    Keymaster

    If 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
    #43693

    Thnx! I’m gonna give that a try 🙂

    #44251

    Sorry for my late reply. But it worked finally! Thank you so much for your help 😀

    #59615
    kathiejs
    Member

    I 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 🙁

    #59675
    Sakin
    Keymaster

    @kathiejs: Please post in your site URL so that I can check in .

    #59828
    kathiejs
    Member

    I 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.

    #59864
    kathiejs
    Member

    Ah, 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.

    #59869
    kathiejs
    Member

    Sorry, ignore my previous – that fix doesn’t work. Is there any way of disabling this feature through custom CSS please?

    #59870
    kathiejs
    Member
    #59965
    Sakin
    Keymaster

    @kathiejs: When I check in your site, its’ working fine. I am bit confused which option what you want to disable.

    #59989
    kathiejs
    Member

    I 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.

    #60001
    Sakin
    Keymaster

    @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
    #60027
    kathiejs
    Member

    That’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 title

    PS 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

Viewing 20 posts - 1 through 20 (of 24 total)
  • The topic ‘Featured Image takes over the header in posts’ is closed to new replies.