• Hi!

    Useful plugin. But is there some way to enable automatic opening on scroll only on a wider screen, like on desktop, not on mobile. Don’t see such an option in settings. Maybe some JS solution?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @webprom,

    Thanks for using UFW. Glad you like it.

    Reg the query, there is no option to disable automatic open on scroll only on big screen.

    Let me look at the code and get back to you if any workaround is possible. Please ping if in case I miss to reply on time.

    Thanks,

    Aakash

    Thread Starter Webprom Design

    (@webprom)

    Ok, few more tweaks and ideas for enhancement.
    – Would be a good option to disable font awesome loading and to use only some custom icons/images. You already have the option for custom icons for the button, but not in the widget title.
    – I’m fearing H4 for the title could break accessibility rules. Could be H2 or may be better to remove Heading tag from there.

    Thanks.

    Plugin Author vaakash

    (@vaakash)

    Hi @webprom,

    Regarding #1, can you please use below PHP script to remove fontawesome style? If you are new to adding custom PHP code in WordPress, please follow the steps in this post below.

    https://www.aakashweb.com/articles/best-methods-to-insert-custom-php-code-in-wordpress/

    Regarding having this as an option, I’ll check further and see if it can be done.

    function remove_ufw_fontawesome_style() {
    wp_dequeue_style('ufw-fontawesome');
    wp_deregister_style('ufw-fontawesome');
    }
    add_action('wp_enqueue_scripts', 'remove_ufw_fontawesome_style', 20);

    #2 – h4 tag is required because, that is the tag used as widget title in WordPress themes. Removing that will break the style applied by the theme for all users.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable Scroll Activation on Mobile’ is closed to new replies.