Sub menu toggle in mobile

Home Page 8DegreeThemes Forum Free Themes EightMedi Lite Sub menu toggle in mobile

Tagged: , ,

  • Author
    Posts
  • #14705

    userPhyo
    Participant

    In mobile(screen less than 980px), the submenu toggle works fine except when i click on gallery image which has link to ‘attachment page’, then submenu toggle does not work. My website is eyemyanmar.com. U can go to “MOH Eye Care Centers” page and click on the first image after that the submenu toggle does not work in mobile.

  • #14714

    8Degree Themes
    Keymaster

    Hello, There!

    Check this image:
    http://prntscr.com/jc90rj

    You seem to have selected Attachment Links to “Attachment Page” so it is opening full site in pop-up and conflicting in menu.
    If you set that to “Media Image” It will work fine.

    Thank you!!

  • #14717

    8Degree Themes
    Keymaster

    Hi There,

    You can try adding this shortcode at the end of functions.php file

    add_filter( 'shortcode_atts_gallery',
        function( $out ){
            $out['link'] = 'file'; 
            return $out;
        }
    );

    This will automatically change all images to open in “Media File” instead of “Attachment Page”.

    Thanks!

You must be logged in to reply to this topic.

Please post your questions in the respective forum above.

All questions related to our Pro theme will be answered in less than 24 hours. All questions related to our Free theme will be answered in less than 48 hours.
Our Facebook page is the best place to get updated with themes, documentation, question/answers. Please like us here:

8 Reasons to choose

Instant Updates

Many free themes, only buy themes when you are ready!

Subscribe for newsletter