-
AuthorPosts
-
January 25, 2023 at 3:48 pm #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
BarbaraJanuary 26, 2023 at 6:35 am #1395302Hey 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,
IsmaelJanuary 26, 2023 at 10:40 am #1395339Hey 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 BarbaraJanuary 27, 2023 at 2:18 am #1395484Hi,
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,
IsmaelJanuary 27, 2023 at 1:58 pm #1395570Hi,
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
BarbaraJanuary 28, 2023 at 6:18 pm #1395744Hi,
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,
MikeJanuary 29, 2023 at 1:59 pm #1395806Hi Mike,
great – that worked perfect.Thank you very much,
we can close this thread now.Best regards
BarbaraJanuary 29, 2023 at 4:36 pm #1395820Hi,
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 -
AuthorPosts
- The topic ‘Image size of Blog archiv and Category’ is closed to new replies.