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.
I am not familiar with coding, can you assist me ?
can someone help me in this ?
hi,
I am using corporate lite theme. http://www.balajicargocare.in
I need help to get this three block in same size.Its on home page
http://www.balajicargocare.in
error screen-shot http://www.balajicargocare.in/test
Please try asking in this theme’s dedicated sub-forum: https://wordpress.org/support/theme/corporate-lite
Hi @balajicargo1234
Add this css to your style.css file
.services .services-box {
height: 355px !important;
}
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.