jilliandking Posted December 17, 2023 Share Posted December 17, 2023 Site url: jilliandking.com (default background); jilliandking.com/play (custom background color) Hi everyone! I've been using custom code to change the background of one page on my site (template: Jasper). It works when I go to that link directly, however when using the nav bar to go between pages, sometimes the color doesn't load right away or revert back to the default when using the nav bar to visit other pages. I've also been having an issue with the nav jumping on the custom background color page, but I'm not sure if this is related or not. Thanks so much! Please find my code for the background color change below: <style> /*Change Nav Text*/ #header a {color: #404040; } /*Change Background Color Text*/ div#site { background-color: #D9D9B1; } #collection-657e43ba0fd25f0996aa2315 {background-color: #D9D9B1; } /*Change Link Colors*/ a:link { color: #cc2c92; } a:visited { color: #cc2c92;; } </style> Link to comment
jilliandking Posted December 17, 2023 Author Share Posted December 17, 2023 Update, I'm using 7.0 so I was able to disable Ajax which seemed to fix it! Still having the issue with the nav jumping though Link to comment
tuanphan Posted December 19, 2023 Share Posted December 19, 2023 Nav jumping: You mean nav appears on left, then jump to right? 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
jilliandking Posted December 31, 2023 Author Share Posted December 31, 2023 On 12/19/2023 at 6:52 AM, tuanphan said: Nav jumping: You mean nav appears on left, then jump to right? Yes, that's correct! Link to comment
tuanphan Posted January 2 Share Posted January 2 On 12/31/2023 at 5:30 PM, jilliandking said: Yes, that's correct! Try adding this code to Custom CSS box [data-nc-base="header"] [data-nc-container="right"] { position: absolute; right: 5vw; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment