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 June 29 Share Posted June 29 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 Wednesday at 03:42 AM Author Share Posted Wednesday at 03:42 AM Oh no, I have to upgrade to be able to do so...:( Link to comment
Solution tuanphan Posted Friday at 10:41 AM Solution Share Posted Friday at 10:41 AM On 7/3/2024 at 10:42 AM, Kacy-Jung said: Oh no, I have to upgrade to be able to do so...:( You can add a Markdown Block in Footer > Paste the code > Save and reload the site 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 Friday at 09:44 PM Author Share Posted Friday at 09:44 PM @tuanphanYou are the best! It works!!!! Thank you so much!!! 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