Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #345103

    Hello –

    We have a Buy and Sell section on our Enfold website, powered by the Another WordPress Classifieds plugin. It works very well except for one thing. On small screens, the “classifieds menu” which normally contains buttons to Place / Edit / Browse / Search ads, is replaced by a black band with the Classified Menu title, and a down-arrow which doesn’t do anything when pressed. This makes it impossible to e.g. place an ad from a mobile device.

    http://cypressskiclub.com/members/buy-and-sell/

    I’m not sure whether this is a theme or plugin side issue. I would appreciate if you could look into it and give me some advice on this.

    Thanks!
    billlon

    #345174

    Hey billlon!

    Add the following to the bottom of functions.php in your Enfold or Enfold Child theme folder:

        function togglemenu_script(){
        ?>
        <script>
            (function ($) {
                $(window).load(function () {
    
                    var $menubtn = $('.awpcp-menu-toggle');
                    var $menu = $('.awpcp-nav-menu');
                    $menubtn.click(function () {
    
                        $menu.toggle();
    
                    });
                });
            })(jQuery);
        </script>
        <?php
        }
        add_action('wp_footer', 'togglemenu_script');

    If it doesn’t work, please forward us the admin credentials to your site for us to have a closer look.

    Cheers!
    Arvish

    #345569

    It worked. Thanks so much.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘AWPCP interaction’ is closed to new replies.