gohugo-amp | AMP starter theme for gohugo https | Theme library
kandi X-RAY | gohugo-amp Summary
kandi X-RAY | gohugo-amp Summary
AMP starter theme for gohugo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gohugo-amp
gohugo-amp Key Features
gohugo-amp Examples and Code Snippets
Community Discussions
Trending Discussions on gohugo-amp
QUESTION
I am using gohugo-amp theme in a hugo app. In the header, I have a banner I want to dismiss onclick and have the dismissed state stored.
I have tried X
however the banner returns when the page is refreshed.
I have also tried using tag. But
fixes the banner in the footer.
Is there a way to put a dismissible banner in the header and have that dismissed state stored so it does not return upon refresh??
...ANSWER
Answered 2017-Mar-11 at 06:48You can style the amp-user-notifcation
component to be placed at the top by adding this to your CSS:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gohugo-amp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page