Kacy-Jung Posted June 23 Share Posted June 23 Hi all I am looking into ways and code to move my header "Hi I am Kacy" to go above my navigation such as "home" "work" etc Attachments, the first image is my current site and the second image is the reference site that I am going for. Many thanks! Link to comment
tuanphan Posted Saturday at 07:41 AM Share Posted Saturday at 07:41 AM On 6/27/2024 at 3:16 AM, Kacy-Jung said: It's kacy-jung.com! Thank you! Try this code to Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('body.homepage article>section:first-child').insertBefore('header#header'); }) </script> <style> body.homepage header#header { position: sticky !important; transform: Unset !important; } body.homepage div#siteWrapper>section { padding: 0px !important; z-index: 999999 !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Kacy-Jung Posted yesterday at 03:42 AM Author Share Posted yesterday at 03:42 AM Oh no, I have to upgrade to be able to do so...:( Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment