Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1395172

    Hi,
    I managed to change the size of the sidebar images in my blogs:

    Now I want to have the same size on archive and category pages:
    https://e139972.easyhosting.at/2022/11/
    https://e139972.easyhosting.at/category/bauchladen/

    I was searching in the forum but can not fid any solution.
    Maybe somebody can help me.
    Thank you very much and best regards
    Barbara

    #1395302

    Hey walhai,

    Thank you for the inquiry.

    You have to modify the enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php file, look for the following code around line 805.

    $thumbnail = get_the_post_thumbnail( $the_id, $image_size );
    

    Replace the $image_size with a different thumbnail (ex. full, large, square, medium etc ). Default size is “portfolio”.

    $thumbnail = get_the_post_thumbnail( $the_id, "full" );
    

    Best regards,
    Ismael

    #1395339

    Hey Ismael,
    thank you for answering.
    I tried it with:
    $thumbnail = get_the_post_thumbnail( $the_id, “full” );

    But nothing is changing :(( – am I doing something wrong?
    Best regards Barbara

    #1395484

    Hi,

    Thank you for the update.

    Did you try purging the cache? Please provide the WP and S/FTP details in the private field so that we can test the modification.

    Best regards,
    Ismael

    #1395570

    Hi,
    yes I did, but did not work.
    Please find all details in PC.

    Would be great, if it would look in the same like her:

    Thank you for helping
    Barbara

    #1395744

    Hi,
    Try adding this css for the archive sidebar news images:

    @media only screen and (min-width: 1025px){
    .news-wrap span.news-thumb, span.news-thumb img {
        width: 200px !important;
        height: auto !important;
        margin-right: 0px !important;
    }
    .news-wrap .news-headline {
    	float: left;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1395806

    Hi Mike,
    great – that worked perfect.

    Thank you very much,
    we can close this thread now.

    Best regards
    Barbara

    #1395820

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Image size of Blog archiv and Category’ is closed to new replies.