Template Mobile

Hello i'd like to try wpAMP technology in order to get better result in mobile.
My website template will be the same or will be different?

Thank you
Responses (3)
  • Accepted Answer

    Friday, February 08 2019, 12:02 PM - #Permalink
    Hi

    It will be totally different. AMP does not allow external CSS or javascript, so nothing in your template can be re-used. wbAMP comes with a default template and best practice is that you customize the CSS to make it look not the same but similar to your regular template, so that visitors do not seem too much difference if/when they go from AMP to regular HTML.

    Best regards
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 08 2019, 12:28 PM - #Permalink
    ok since my website is built with Virtuemart can i keep features like "Latest Product" module or Slider plugin?
    Regards
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 08 2019, 12:39 PM - #Permalink
    Hi

    There is support for modules, see this page of documentation for that. As with any content, external CSS and javascript is not allowed. I don't think the Latest products module will use any real javascript but you may have to customize some CSS to make it look good.

    As for slider, this is not possible as sliders use javascript. You can totally do slideshows on AMP pages but you will have to do some custom programming for that, for instance redo some template overrides in an AMP-compatible format. If your template is dedicated to Virtuemart, they may have implemented something like that for their slider?

    Best regards
    The reply is currently minimized Show
Your Reply