franks123
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress website@jamesosborne , I have hide the menu button for amp version. but for non-amp version, it is not working
.dl-menuwrapper {display: none;}This thing is added in <style amp-custom> in head tag of header.php. this thing is working for amp version. but this mobile button is hide for non-amp version as well.
https://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp
but for non-amp version, how can i hide the amp menu button.
https://creativesystems.0438cfd.netsolhost.com/
You can see on both links as well.One more thing, for amp sidebar, I have applied the whole css in head tag. IS this right, i have done or there is another way to implement this as well?
I think for amp css will work, if it is applied in head tag
- This reply was modified 5 years, 2 months ago by franks123.
Forum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress websiteI think for amp version, css code should be added in head tag in header.php in <style amp-custom> tag.
[amp] will also be added with .header-search-mobile { display: none; }?
I have implement it in localhost. but in vain
Please tell me how to implement this.
If there is another way to implement this, then please tell me as wellForum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress websiteThis is the link of amp version
https://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp
This is the link of non-amp version
https://creativesystems.0438cfd.netsolhost.com/Forum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress websiteplease see the code on this link
https://gist.github.com/martn234/7d4e98d47586ae3a985a2c1ac4edf49bForum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress websiteok i am sharing on this above mentioned link. Should i add whole header.php code there?
Forum: Plugins
In reply to: [AMP] How to add AMP Sidebar in wordpress websiteI am using transitional mode. I have added amp sidebar code in header.php. Now issue is appearing that on mobile on both amp and non amp version, Two menu buttons are showing. I want that for amp version amp sidebar with mobile button will show and for non-amp version regular menu button with mobile menu will show.