Closed WOLFIEEEE closed 3 years ago
Removing the margin-top of 5rem from your body should fix the issue :+1:
The content below your header should shift up as well if you do this, but it also seems that you tried to reposition it before to compensate for the margin-top introduced on the body. Removing the negative margin of 5rem on the hero class should bring things back to normal:
Thanks for the Help It solved My Issue @Hahlh , Closing Isuue
I am deploying a site using strapi and gatsby . The site was running perfectlly fine untill I added the plugin as soon as I added the plugin it given a extra space above my navbar.
As I am building it using strapi so instead you try to run it . I am providing a netlify link of it and sharing the repo . Have a look at it (repo is quiite messed up please ignore)
Without gatsby-plugin-transition-link Netfliy link of buld before using the tranisiton :- https://beforeusingplugin.netlify.app/ Link of the Repo I Used:-https://github.com/WOLFIEEEE/Gatsby-portfolio/tree/Dark-mode-WithoutPlugin
With gatsby-plugin-transition-link Netfliy link of buld after using the tranisiton plugin:-https://afterusingplugin.netlify.app/ Link of the Repo I Used:- https://github.com/WOLFIEEEE/Gatsby-portfolio/tree/Dark-mode
I updated the repo as I have to use it but you can still see the error in those netlify links