Guest Posted May 12, 2020 Share Posted May 12, 2020 Site URL: https://tuna-coral-j88a.squarespace.com/config/pages Hi, wondering if anyone can help with this ? We are building a new site, and would like to make a text block show only on hover. The text block is sitting over a full bleed background image. https://tuna-coral-j88a.squarespace.com Im not experienced with CSS, have managed to do this within image poster and image card blocks, but have hit a wall with this. Any help with this would be hugely appreciated. Andrew I found the following. It seems to relate to hover over an info icon, which is not exactly what im after. past into code block <div id="hover-div"> <i class= "fas fa-info-circle"></i> <span id="hover-element"> The Sisters </span> </div> past into design/custom css #hover-element { display: none; position: absolute; padding : 10px: } #hover-div:hover #hover-element { display :block } #hover-div { display: inline } @media only screen and (max-width: 660px) { #block- yui_3_17_2_1_1589316549741_13070{ display: none } } Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 It seems you solved? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Guest Posted May 13, 2020 Share Posted May 13, 2020 I feel I'm close but, for some reason this isn't working for me Link to comment
tuanphan Posted May 14, 2020 Share Posted May 14, 2020 Add to Home > Design > Custom CSS .homepage #page section p { visibility: hidden; } .homepage #page section:hover p { visibility: visible; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Guest Posted May 14, 2020 Share Posted May 14, 2020 many thanks again @tuanphan ! appreciated Link to comment
Guest Posted May 14, 2020 Share Posted May 14, 2020 @tuanphan should i add this after the following ? in in between ? #hover-element { display: none; position: absolute; padding : 10px: } #hover-div:hover #hover-element { display :block } #hover-div { display: inline } @media only screen and (max-width: 660px) { #block- yui_3_17_2_1_1589316549741_13070{ display: none } } Link to comment
tuanphan Posted May 14, 2020 Share Posted May 14, 2020 Yes, after your code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.