• Hi,

    After activating AMP plugin, I see some issue in the drop-down menu bar. I feel it is something to related with fonts used for AMP.

    Earlier I have faced similar issues for a caching plugin and I fixed it by adding following lines in the .htaccess. Please help me.

    #WpFastestCache CDN Font Problem
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    <FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
    SetEnvIf Origin “:” IS_CORS
    Header set Access-Control-Allow-Origin “*” env=IS_CORS
    </FilesMatch>
    </IfModule>
    </IfModule>

    <IfModule mod_headers.c>
    <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>
    #CDN Font Problem

    The page I need help with: [log in to see the link]

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

    (@ahmedkaludi)

    Hi Ravi @ravibbb

    Thank you so much for using the plugin.

    It’s really strange, I have checked your URL and it is not showing the menu at all. This is the first time when I have seen this issue. Are you using Any plugins for Mobile menu?

    The div structured of the menu is changed completely, so either it is some plugin or you have tried customizing the menu code.

    If that doesn’t help then please list all the plugins that you are using.

    Regards,
    Ahmed

    Thread Starter Ravi Bandakkanavar

    (@ravibbb)

    Hi Ahmed,

    Thank you for taking the time out of your busy schedule to reply to this.
    I am sorry to mention that the above issue was because of some other plugin.

    I have disabled the menu currently and just enabled it via widgets on the homepage https://krazytech.com/amp. I am happy with this.

    I observed an issue. Even though I configured a separate menu for the AMP project, I was still seeing only pages listed on the menu for the AMP version.

    I must say it is a beautifully written plugin.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @ravibbb

    Please make sure that you have enabled the Menu from Design options. See: https://ampforwp.com/tutorials/article/navigation-menu-amp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Causing CSS/JS issue because of new fonts’ is closed to new replies.