ec25 Posted October 26, 2023 Share Posted October 26, 2023 I noticed that this CSS works perfectly in Chrome, but when I open Safari, it doesn't work at all, is there a way around this? .header-nav .header-nav-item--folder .header-nav-folder-content { top: 35.5px !important; } The CSS is to remove the slight jump when you hover over the dropdown menu. Here is the CSS. I used to create the dropdown div.header-nav-folder-content { margin-top: -2.5rem;} .header-nav-folder-item:first-of-type a { opacity: 1;} Here's my website https://www.erinncapko.com/ Thanks. Link to comment
tuanphan Posted October 29, 2023 Share Posted October 29, 2023 Hi, You mean both code div.header-nav-folder-content { margin-top: -2.5rem;} .header-nav-folder-item:first-of-type a { opacity: 1;} doesn't work on Safari? on desktop or mobile? 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
ec25 Posted October 29, 2023 Author Share Posted October 29, 2023 17 hours ago, tuanphan said: Hi, You mean both code div.header-nav-folder-content { margin-top: -2.5rem;} .header-nav-folder-item:first-of-type a { opacity: 1;} doesn't work on Safari? on desktop or mobile? Hello, No, Only this. CSS doesn't work in Safari on desktop header-nav .header-nav-item--folder .header-nav-folder-content { top: 35.5px !important; } The code you posted above is the code I used to create the dropdown menu, I wasn't sure if it was useful to help fix this problem. Thanks. Link to comment
tuanphan Posted November 3, 2023 Share Posted November 3, 2023 Try this Code div.header-nav-folder-content { top: 35.5px !important; position: relative !important; } 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
ec25 Posted November 4, 2023 Author Share Posted November 4, 2023 (edited) On 11/2/2023 at 9:58 PM, tuanphan said: Try this Code div.header-nav-folder-content { top: 35.5px !important; position: relative !important; } This gets rid of these codes div.header-nav-folder-content { margin-top: -2.5rem;} .header-nav-folder-item:first-of-type a { opacity: 1;} which I'm trying to keep. I just want to get rid of slight jump that comes with the hover on the dropdown in Safari. This CSS only works on Chrome view header-nav .header-nav-item--folder .header-nav-folder-content { top: 35.5px !important; } Thanks Edited November 4, 2023 by ec25 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