Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #124477
    myceliana121
    Participant

    Greetings and thank you for your themes. We use catch-box theme on over 5 websites. Everything is great except one pretty problematic issue which is that it appears the featured image on posts that contain text is configured to appear as a preview slide on the posts page, automatically cropping featured image size to a default thumbnail size. For instance on the site http://www.bottlegourdherbs.com the front page is set to display recent posts. If you scroll down to the post from September 19, 2017 titled “Prototype Neo-Dao Cigar Box Mini Herbal Laboratory” you will see the featured image default crops the full image display. However, if a post is made with ONLY an image, also set as the featured image, the post default displays the full image (like the October 16, 2017 post).
    Our tech partner found that the primary fix is to create a child theme and override the default image function in content.php with the following code:

    Specific line: <?php the_post_thumbnail(‘featured-slider’); ?>
    to change to: <?php the_post_thumbnail(‘full’); ?>

    But is there a way to make the settings that default to an image-only post be the same as one using the featured image with that image displaying also with text in the post body?

    Or may you make available a Custom CSS override as an alternative fix, to make management of the many sites running catch-box more expedient and without potential problems in updates?

    Thank you in advance from all of our team!

    #124506
    tikaram
    Keymaster

    @myceliana121 : Thank you for using our theme. When you make a post with an image only, the first image from the post is displayed in the page but its not a featured image.
    Hope you have gone through theme instructions, the size for featured image is as follows
    Width: 644px
    Height: 320px

    If you select image with different size it will be cropped to maintain the uniformity in size, it cannot be corrected with custom css. You may create a child theme and do as specified by your tech partner. You will not face any problem if you create a child theme because your customizations will remain even after theme updates. Let me know if you have any theme related issues.

    Regards,
    Tikaram

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘CSS to override default featured image function?’ is closed to new replies.