ellisb1 Posted April 29, 2022 Share Posted April 29, 2022 Site URL: https://ray-gecko-tfeg.squarespace.com/ Hi there, wondering if someone can help because this is driving me mad. I am trying to create a hover to reveal effect in my header navigation. See an example attached of what I'm trying to achieve. I was able to achieve this effect for regular text by inserting the following into a code block: <div id="hover-div"> A<span id="hover-element">bout</span> </div> <div id="hover-div"> C<span id="hover-element">ontact</span> </div> <div id="hover-div"> S<span id="hover-element">ervices</span> </div> and then adding the following to the CSS editor: #hover-element { display: none; position: absolute; } #hover-div:hover #hover-element { display: inline !important; } This had the following effect on my actual page: I am wanting to do this effect with each menu item in the navigation header but can't seem to figure out the code to achieve this. Does anyone have any suggestions or code to achieve this? Test website is https://ray-gecko-tfeg.squarespace.com/ and the password is test1234 Thanks in advance! Link to comment
tuanphan Posted May 1, 2022 Share Posted May 1, 2022 Still quite understand. Do you have an example demo/site/video? 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
ellisb1 Posted May 1, 2022 Author Share Posted May 1, 2022 Hey there! Sure, sorry for the confusion. See attached a screen recording showing what I'm trying to achieve in the header. Screen Recording 2022-05-02 at 07.57.27.mov The site I am referencing is https://www.eyrc.com/. You can see on the site I'm building here https://ray-gecko-tfeg.squarespace.com/ (Password TEST1234). I was able to achieve this using a regular text block here: I just don't know how to achieve this in the header. Does that make more sense? Thanks! 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