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.

Our New Release - Eight Degree Pro

Eight Degree Pro is a flexible WordPress theme with modern and mobile friendly design. This multipurpose WP template is suitable for building any kind of websites from blogs and portfolios to businesses. It comes with 3 predesigned demos with one click demo import features. Simply import the demo data and start customizing.

We've Launch offer 40% discount to our exclusive clients like you! Use coupon code customer during checkout. Get the theme only for $33 now (only for few days!)

Click on the below image for more detail.

Eight Degree Pro  WordPress Corporate Business Premium Theme

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:

Subscribe for newsletter