Title: Block Same Size
Last modified: August 31, 2016

---

# Block Same Size

 *  [balajicargo1234](https://wordpress.org/support/users/balajicargo1234/)
 * (@balajicargo1234)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/)
 * hi,
    I am using corporate lite theme. [http://www.balajicargocare.in](http://www.balajicargocare.in)
   I need help to get this three block in same size.Its on home page
 * [http://www.balajicargocare.in](http://www.balajicargocare.in)
 * error screen-shot [http://www.balajicargocare.in/test](http://www.balajicargocare.in/test)

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

 *  [TheHandOfCod](https://wordpress.org/support/users/chrisodell/)
 * (@chrisodell)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7403958)
 * The way I would approach this is to fix the number of characters allowed in the
   box and then set the height property of the services-box class.
 * Another option of you wanted the height to be more dynamic would be to calculate
   the size of the tallest box using JavaScript and then set the height of the other
   boxes to the same value using more JavaScript. The downside with using JS is 
   that if a user has it turned off then your boxes will not resize.
 *  Thread Starter [balajicargo1234](https://wordpress.org/support/users/balajicargo1234/)
 * (@balajicargo1234)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404145)
 * I am not familiar with coding, can you assist me ?
 *  Thread Starter [balajicargo1234](https://wordpress.org/support/users/balajicargo1234/)
 * (@balajicargo1234)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404196)
 * can someone help me in this ?
 *  Thread Starter [balajicargo1234](https://wordpress.org/support/users/balajicargo1234/)
 * (@balajicargo1234)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404219)
 * hi,
    I am using corporate lite theme. [http://www.balajicargocare.in](http://www.balajicargocare.in)
   I need help to get this three block in same size.Its on home page
 * [http://www.balajicargocare.in](http://www.balajicargocare.in)
 * error screen-shot [http://www.balajicargocare.in/test](http://www.balajicargocare.in/test)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404220)
 * Please try asking in this theme’s dedicated sub-forum: [https://wordpress.org/support/theme/corporate-lite](https://wordpress.org/support/theme/corporate-lite)
 *  [Muhammad Jahangeer](https://wordpress.org/support/users/wpressdr/)
 * (@wpressdr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404221)
 * Hi [@balajicargo1234](https://wordpress.org/support/users/balajicargo1234/)
 * Add this css to your style.css file
 *     ```
       .services .services-box {
           height: 355px !important;
       	}
       ```
   
 *  [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * (@cedcommerce)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404222)
 * Hello balajicargo1234,
 * Please try the following code:
    Add the following code in your functions.php
 *     ```
       <?php
       function custom_excerpt_length( $length ) {
        return 50;
       }
       add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
       ?>
       ```
   
 * Where 50 is the total number of characters shown, you can change that length 
   by yourself.
    If the length of the post content will be same then all the blocks
   will be same.

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

The topic ‘Block Same Size’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [cedcommerce](https://wordpress.org/support/users/cedcommerce/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/block-same-size/#post-7404222)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
