Title: how to decrease homepage size
Last modified: November 2, 2016

---

# how to decrease homepage size

 *  [abdorefky](https://wordpress.org/support/users/abdorefky/)
 * (@abdorefky)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-decrease-homepage-size/)
 * Hello,
    my blog : wwww.abdorefky.com
 * i want to decrease the size of the posts headers on the main page so the photos
   don’t look that big .
 * but only on the main menu .
 * Thanks

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-decrease-homepage-size/#post-8386353)
 * Please try asking for assistance in the theme’s dedicated forum: [https://wordpress.org/support/theme/ryu](https://wordpress.org/support/theme/ryu)
 * In the meantime, do not edit the theme itself. First [create a child theme for your changes](https://codex.wordpress.org/Child_Themes).
   Or install a [custom CSS plugin](https://wordpress.org/extend/plugins/search.php?q=custom+css).
 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-decrease-homepage-size/#post-8386370)
 * You can use a [Child Theme](https://codex.wordpress.org/Child_Themes) to make
   modifications to your theme.
 * **Add this to your functions.php file:**
 *     ```
       function custom_image_sizes() {
       	add_image_size('home-images', 768, 300, true);
       }
       add_action( 'after_setup_theme', 'custom_image_sizes' );
       ```
   
 * You can then make a duplicate copy of the themes’ **content.php** file and place
   it in your **Child Theme folder**, make the following code change to it.
 * **FIND:**
 *     ```
       <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'ryu' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="ryu-featured-thumbnail">
           <?php the_post_thumbnail( 'ryu-featured-thumbnail' ); ?>
       </a>
       ```
   
 * **REPLACE IT WITH:**
 *     ```
       <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'ryu' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="<?php the_ID(); ?>" class="ryu-featured-thumbnail">
           <?php if (!is_home()) { ?>
               <?php the_post_thumbnail( 'ryu-featured-thumbnail' ); ?>
           <?php } else { ?>
               <?php the_post_thumbnail( 'home-images' ); ?>
           <?php } ?>
       </a>
       ```
   
 * You’ll also want to [Regenerate Your Thumbnails](https://wordpress.org/plugins/force-regenerate-thumbnails/)
   to ensure the new image size is being used on the homepage.
 * Hope this helps.

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

The topic ‘how to decrease homepage size’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/how-to-decrease-homepage-size/#post-8386370)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
