Euler123 Posted January 25, 2022 Posted January 25, 2022 Site URL: https://www.davidbuddenhagen.com Hi All, first time posting a question - hope I get this right. Firstly, thank you for having a look at my issue and I thank you in advance for offering insight/solution. The issue i am having occurs when i use the following code in code block to cover a caption with another caption which should create the effect of a rollover as the second title [Development and deployment of identity, brand strategy and digital...] should overlay in the space 'over' the first title [Pirate Studios], effectively blocking it from view to 'reveal' the aforementioned second title. (see code below). I have also uploaded two screen captures to illustrate the issue. Both capture show specified action near bottom of screens. One capture shows how the rollover should look, it was recorded in Squarespace's unpublished work area and looks great. The second screen capture was recorded of the published site. It shows how the rollover should not look. Any advice greatly appreciated. Cheers D <div id="hover-div"> <a href="/ps-pages"> <span style="font-family:Helvetica; font-size:1.5em;">Pirate Studios</span> <span id="hover-element"> <span style="text-decoration: underline #666666; font-family:Helvetica; font-size:1.5em;">Development and deployment of identity, brand strategy and digital...</span> </a> </div> correct rollover.mp4 incorrect rollover.mp4
tuanphan Posted January 26, 2022 Posted January 26, 2022 Can you check video 1? It doesn't run. 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!)
Euler123 Posted January 26, 2022 Author Posted January 26, 2022 Thanks forgetting back to me! I've managed to solve the issue by changing the padding around block. Now i have a new issue - I would like rollover effect to remain as is for desktop. On mobile i would like client title "Pirate Studios" and the rollover text "Development and deployment of identity, brand strategy and..." to be up and visible at same time without the rollover effect. Is there a way to shift gif boxes down as well so all text is accommodated properly once fixed? See below for greater detail: RPReplay_Final1643201731.mov
tuanphan Posted January 27, 2022 Posted January 27, 2022 Add to Design > Custom CSS /* Hover text mobile */ @media screen and (max-width:767px) { span#hover-element { display: block; } div#hover-div { margin-bottom: 40px; } } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment