Created
July 20, 2018 07:01
-
-
Save rushijagani/10894fc0c6da89f9b7b1d2ea89d2e984 to your computer and use it in GitHub Desktop.
Update the featured images size from Astra.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Update the featured images size from Astra | |
*/ | |
add_filter( 'astra_post_thumbnail_default_size', 'update_featured_images_size_callback' ); | |
function update_featured_images_size_callback( $size ) { | |
$size = array( 500, 500 ); // Update the 500(Width), 500(Height) as per your requirment. | |
return $size; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add Following CSS to make the featured image align right with the content.
Please selcet the Blog Post Structure as this from Astra Customizer setting --