Reply 329906 to: Visualization problems with the XStore AMP plugin

Avatar: Rose Tyler
Rose Tyler
Support staff
July 18, 2022 at 08:42

Hello,

Sorry for the delay in answering.
1/
1.1/ The file is located :
plugins/xstore-amp/includes/templates/header/parts/mobile_menu_sidebar.php
Css code that was added:

.mobile-menu .sub-menu {
padding-left: 15px;
}

1.2/ Bottom right menu is fixed now as well – thanks 🙂
The fix was to add that filter for that menu as well (it is already added on your staging site) ->
plugins/xstore-amp/includes/templates/extra/mobile_panel_menu_sidebar.php
1.3/
In the bottom right menu the “Community” and “free download” pages shows a “view amp version” button at the bottom (you can also see a different menu at the top left visible in the amp version) so i suppose they’re not displayed in AMP mode. = If the page is shown in non-amp state then that button is shown at the same bottom. If you want to disable that button go to XStore AMP option and disable it -> https://prnt.sc/6mokuUDHxTYj . It will remove that button on all pages.

3/
We found that you had custom code that removes gallery image in your child-theme/functions.php. We did some improves in your code and now image gallery will not be removed if it is AMP version -> https://prnt.sc/GOodr-qCJ5Ks

4/ We found that you added an extra <strong> tag but didn’t close it so it is the reason why you have errors in some products -> https://prnt.sc/yYOf_8UWRb8n . We removed that <strong> for the broken product you sent so check now and check other products that have similar issues.
AMP is very sensitive to tags and html structure.

5/ Not yet but you may submit a feature request here – https://www.8theme.com/roadmap/ and also check other requests that could be loved by you and you can add your voice for some of them to give them more priority.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.