Title: Hover without title
Last modified: September 4, 2020

---

# Hover without title

 *  [ABCdatos](https://wordpress.org/support/users/abcdatos/)
 * (@abcdatos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/hover-without-title/)
 * When using an empty title, the resulting code have the H3 tag and the remaining
   title space pushes down the description text, vertically miscentering it.
 * To manitain centering, I suggest this little change in render/hover.php:
 *     ```
       		    	<div style="display: table-cell !important;vertical-align: middle !important;">
       			      	<?php if ( $title != '' ) { ?>
       			      	<h3 style="color: <?php echo $title_clr; ?>; background: <?php echo $title_bg; ?>; font-size: <?php echo $title_size; ?>;">
       			      		<?php echo $title; ?>
       			      	</h3>
       			      	<?php } ?>
       			      	<p style="color: <?php echo $desc_clr; ?>; font-size: <?php echo $desc_size; ?>;">
       			      		<?php echo $desc; ?>
       			      	</p>
       	      		</div>
       ```
   
 * Thanks for your attention and great plugin.

The topic ‘Hover without title’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/image-hover-effects-for-visual-composer_30677a.
   svg)
 * [Image Hover Effects For WPBakery Page Builder](https://wordpress.org/plugins/image-hover-effects-for-visual-composer/)
 * [Support Threads](https://wordpress.org/support/plugin/image-hover-effects-for-visual-composer/)
 * [Active Topics](https://wordpress.org/support/plugin/image-hover-effects-for-visual-composer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-hover-effects-for-visual-composer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-hover-effects-for-visual-composer/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ABCdatos](https://wordpress.org/support/users/abcdatos/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/hover-without-title/)
 * Status: not resolved