Limited Time Offer | Get 20% OFF on Themes Bundle. Use Coupon Code GRC20Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

Reply To: Slider blank lines and to short text

#4481
Grace Themes
Participant

Hi Andreas,

To remove the empty line before and after the slider description

Go to Appearance -> Editor -> header.php file

at line no. 69 you will find the below code

<p><?php echo wp_trim_words( get_the_content(), 20, '' ); ?></p>

just need to remove p tag like below

<?php echo wp_trim_words( get_the_content(), 20, '' ); ?>

Also to make the homepage slider auto rotate

Open js/jquery.nivo.slider.js file
at line no. 22 set stop: false

Please do this changes and let me know your feedback.

If you find any difficulty please send WordPress admin login details of your website at [email protected] so we can check your site and solve the problems.

Regards
Grace Themes
https://gracethemes.com