Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #59794

    so i have created a child theme that i linked to the full frame theme, but what code would i add if i want to change the featured content image box size to a different ratio.


    @calchandoman: You can change the size in the following code as per your need. In the following code 400 is width and 225 is height. After you change that, you need to add the following code in your child theme functions.php file. After you add that in your child theme, you need to regenerate thumbnail using Regenerate Thumbnail plugin

    function fullframe_child_theme_setup() {
        // Used for Featured Content, Featured Grid Content and Archive/blog Featured Image
    	add_image_size( 'fullframe-featured-content', 400, 225, true); // used in Featured Content Options Ratio 16:9
    add_action( 'after_setup_theme', 'fullframe_child_theme_setup', 11 );
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘change featured content box size.’ is closed to new replies.