Problems rollover doesnt work anymore

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Thu Jul 06, 2017 3:23 pm
After updating Top Widgets I - text rollover doesnt work anymore on banner see the link knjizarapismo.com:
<div class="gk-banner">
<h2><a href="?product_cat=udzbenici">Udžbenici</a></h2>
<strong><a href="?product_cat=udzbenici">Pogledajte kolekciju</a></strong>
<a href="?product_cat=udzbenici"><img src="[pageurl]/wp-content/uploads/2017/02/benner-book-category-red.png" alt=""></a>
</div>
Other banner works but if i update rollover will not work anymore and text CSS i am using updated wordpress 4.8
User avatar
Expert Boarder

GK User
Thu Jul 06, 2017 5:40 pm
I found a problem but i dont know why after updating text widget WordPress automatically adds <br> and <p> tags when i save banner. How to remove that
User avatar
Expert Boarder

Joshua M
Fri Jul 07, 2017 8:20 am
Hi,
It's a problem with new text widget introduced in last version of WordPress, please check the solution here:
https://www.gavick.com/forums/john-wp/c ... dget-54227
User avatar
Moderator

GK User
Fri Jul 07, 2017 10:52 am
I just added a Claasic Widget Style but then i widget rules i dont have all Widget Styles: in drop down Banner Advertisement, also Top Bar widget social icons doesnt have roll over effects and everything is in onle line on the left
User avatar
Expert Boarder

GK User
Fri Jul 07, 2017 1:53 pm
Dear Joshua i find the solution and now inStyle work with 4.8 text widget the only thing is to add this line of code in /wp-includes/formatting.php:
remove_filter('widget_text_content', 'wpautop');
I hope that this will help all and i am happy to share with you as Joshua help us all this years
User avatar
Expert Boarder

Joshua M
Sun Jul 09, 2017 10:48 pm
Thanks for the solution, but please remember that editing WordPress core files is not recommended. Try to add this code into your theme functions.php file.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.