Is it possible to have the ribbon at the top of the page automatically close after a set amount of time? Thanks!
Closing Ribbon
3 posts from 2 voices-
Posted 4 months ago #
-
Open up wp-content/themes/propulsion/js/avia.js and replace:
if(jQuery.fn.avia_hide_info_text) jQuery("#info_text_header").avia_hide_info_text();with:
if(jQuery.fn.avia_hide_info_text) jQuery("#info_text_header").avia_hide_info_text(); setTimeout( function(){ jQuery("#info_text_header .infotext .close_info_text").trigger('click'); } ,6000 );You can replace 6000 with any other value. 6000 stands for 6000ms (6 seconds countdown before the ribbon will close automatically).
Posted 4 months ago # -
Awesome, thanks!
Posted 4 months ago #
Topic Closed
This topic has been closed to new replies.














