drewdp Posted June 21, 2022 Share Posted June 21, 2022 Site URL: https://www.drewdepinto.com Hi all, I used custom css to split my navigation on either side of my header, but the site title no longer links back to the home page (and the centering seems to be a bit off). Here is the css I used, any help would be appreciated! /*Secondary Navigation */ .header-display-desktop .header-title { height: 4vw !important; display: flex; align-items: center !important; justify-content: center; } .header-display-desktop .header-nav { position: absolute; top: 0; margin-top: 0 !important; height: 4vw !important; display: flex; align-items: center !important; justify-content: center; } .header-display-desktop .header-nav-item:nth-of-type(2) { margin-right: 30vw !important; } Link to comment
tuanphan Posted June 22, 2022 Share Posted June 22, 2022 Add to Design > Custom CSS .header-display-desktop .header-title { position: relative; z-index: 999999999; } 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
drewdp Posted June 22, 2022 Author Share Posted June 22, 2022 18 hours ago, tuanphan said: Add to Design > Custom CSS .header-display-desktop .header-title { position: relative; z-index: 999999999; } This worked for the title, but now the navigation buttons don't work! I appreciate your help. Link to comment
tuanphan Posted June 23, 2022 Share Posted June 23, 2022 15 hours ago, drewdp said: This worked for the title, but now the navigation buttons don't work! I appreciate your help. Use this new code .header-display-desktop .header-title { flex: 0 0 30% !important; position: relative; z-index: 99999; } 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
drewdp Posted June 23, 2022 Author Share Posted June 23, 2022 4 hours ago, tuanphan said: Use this new code .header-display-desktop .header-title { flex: 0 0 30% !important; position: relative; z-index: 99999; } This worked, 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