Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter caz963

    (@caz963)

    That’s fantastic – it works a treat! Thank you!

    Thread Starter caz963

    (@caz963)

    I really appreciate your trying and your patience!

    I will ask the other question – hopefully an easier to resolve one! in another thread.

    Thread Starter caz963

    (@caz963)

    Yes, that’s the sizes I’m seeing at RHR, with only a portion of the image showing. I just ran Regenerate Thumbnails (again) and still, only part of the image is showing. https://www.romantichistoricalreviews.com

    In any case, thank you so much for trying to help – I think I’m going to have to accept that the images on the home page are going to stay the way they are.

    I still really like the theme and will continue to use it ??

    I have one other question – should I open up a new topic?

    Thread Starter caz963

    (@caz963)

    Yes, I did run it, and it left all the thumbnails as you see them (apart from the one I changed so you could see it).

    I am running the child theme, and added the code you gave upthread to the function file, so it looks like this:

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘coldbox_enqueue_styles’ );
    function coldbox_enqueue_styles() {
    wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’ );

    }

    /* ————————————————————————- *
    * Start customizing from here* ————————————————————————– */function cd_middle_thumbnail_template() {

    function cd_middle_thumbnail_template() {

    if ( has_post_thumbnail() ) {
    $thumbnail = get_the_post_thumbnail( get_the_ID(), ‘150×225’ );
    } elseif ( cd_index_placefolder_image() ) {
    $thumbnail = ‘noimage‘;
    } else {
    return;
    }
    echo wp_kses_post( apply_filters( ‘cd_middle_thumbnail_template’, $thumbnail ) );
    }

    function create_new_thumbnail_size() {
    add_image_size( ‘150×225’, ‘150’, ‘225’ );
    }
    add_action( ‘after_setup_theme’, ‘create_new_thumbnail_size’ );

    It’s entirely possible I’ve done something wrong, so please let me know!

    Thread Starter caz963

    (@caz963)

    The thumbnails on the homepage – https://www.romantichistoricalreviews.com – are that size.

    Sorry to be a pain on this – but if you go to the homepage and then scroll down to the review called “The English Wife” – you can see what I would like to see – you can see the entire cover of the book at a smaller size.

    Does that make sense? I’m sorry if I’m not explaining myself correctly. Would it be easier if I were to email you a couple of screenshots?

    Thank you for being so patient with me!

    Thread Starter caz963

    (@caz963)

    Ah, right.

    I suspect that I may have been using the wrong terminology or asking you for the wrong thing, for which I apologise.

    What I want to see on the homepage is a 150×250 (or approx) image of the whole book cover – not just a section of it. Is that possible? I’m sorry if my previous questions have been unclear, but I’m fairly new to this ??

    Thread Starter caz963

    (@caz963)

    Thanks so much! This has worked in that the display shows the full size covers but ideally, I would like to show 150×225 thumbnails. Is there a way of setting this size?

    Hi — I really like the theme and am using it here – https://www.romantichistoricalreviews.com.

    Can you tell me how I can resize the featured images so that the whole of the featured image is shown as a thumbnail on the home page? Some of the covers were showing that way and some were not, and I couldn’t work out why they didn’t all work the same way, so I tried the Regenerate Thumbnail plugin – and unfortunately, it resized them all so that only part of the image shows (which is what you can see on the home page now.

Viewing 8 replies - 1 through 8 (of 8 total)