Tagged: x
-
AuthorPosts
-
April 11, 2016 at 5:02 am #876179
onefoursixParticipantre: http://laraboothairdressing.co.uk/our-team/
is there a way to have another image appear on hover when hovering over the team profiles please?
April 11, 2016 at 9:36 am #876516
Paul RModeratorHi,
Thanks for writing in!
Yes that’s possible.
Kindly do the following.
1. Add background to each blockgrid item. This will be the one visible on hover.
As much as possible make your image the same size as the profile image.To add background, add this code in the style field of your blockgrid element.
background:url(image.jpg) top center no-repeat;Change image.jpg with the corresponding image to each profiles
2. Add class my-profiles in the class field of each blockgrid item.http://screencast.com/t/N4316JbZC
3. Add this under Custom > CSS in the Customizer.
.my-profiles { background-size:contain; } .my-profiles:hover img { opacity:0; }Hope that helps.
April 12, 2016 at 7:50 am #878187
onefoursixParticipantIt is not showing correctly. The background image is too long despite it being exactly the same dimensions as the top image. Can you let us know how we resolve this please.
April 12, 2016 at 12:58 pm #878692
ThaiModeratorHi There,
Please update the previous CSS a bit:
.my-profiles { background-size: contain !important; } .my-profiles:hover img { opacity:0; }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-876179 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
