Jump to content

Text roll over not working properly

Recommended Posts

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

 

<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> 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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:

 

IMG_2491.PNG

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.