TheSignBridge Posted January 6, 2021 Share Posted January 6, 2021 Site URL: https://saladcreative.com/ I would like to try and replicate the effect on the above website. When you hover over the dropdown on the top menu it darkens the rest of the page. I would like to do this so I don't have to place an ugly box around my drop down items for them to be visible. Can anyone help please, thanks in advance. Link to comment
tuanphan Posted January 7, 2021 Share Posted January 7, 2021 Can you share your site url? We can help easier 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
TheSignBridge Posted January 7, 2021 Author Share Posted January 7, 2021 Of course no problem, it is www.thesignbridge.com Link to comment
AkankshaK Posted January 19, 2021 Share Posted January 19, 2021 On 1/6/2021 at 2:03 PM, TheSignBridge said: Site URL: https://saladcreative.com/ I would like to try and replicate the effect on the above website. When you hover over the dropdown on the top menu it darkens the rest of the page. I would like to do this so I don't have to place an ugly box around my drop down items for them to be visible. Can anyone help please, thanks in advance. @TheSignBridge I have been able to achieve this effect using this code. Hope it works for you. .classname > div { position: absolute; top: 0; bottom: 0; z-index: 999; width: 100%; left: 0; } .classname::after { content: ""; position: fixed; width: 100%; height: 100%; background: rgba(0,0,0,0.5); left: 0; top: 0; z-index: 0; } Link to comment
tuanphan Posted January 23, 2021 Share Posted January 23, 2021 On 1/7/2021 at 9:23 PM, TheSignBridge said: Of course no problem, it is www.thesignbridge.com Sorry for the delay. This is very complex. Have you found the solution yet? 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
TheSignBridge Posted January 25, 2021 Author Share Posted January 25, 2021 On 1/23/2021 at 11:08 AM, tuanphan said: Sorry for the delay. This is very complex. Have you found the solution yet? Hi Tuan, I'm afraid not. Struggling to find a solution to be honest. Link to comment
tuanphan Posted February 2, 2021 Share Posted February 2, 2021 I suddenly remembered that I used to help a client with this. And you will need a script code (Business Plan). I will try to find that code again 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
Archived
This topic is now archived and is closed to further replies.