Home / Forums / WoodMart support forum / Darkened transparent image upon hover of PROMO BANNER
Home › Forums › WoodMart support forum › Darkened transparent image upon hover of PROMO BANNER
Darkened transparent image upon hover of PROMO BANNER
- This topic has 11 replies, 2 voices, and was last updated 7 years, 1 month ago by
Bogdan Donovan.
-
AuthorPosts
-
September 29, 2018 at 4:33 pm #79840
RuiYangParticipantI added this CSS to my global CSS
hovercreative,
.image:hover > .overlay {
width:100%;
height:100%;
position:absolute;
background-color:#000;
opacity:0.5;
border-radius:30px;
}I refered my PROMO BANNER HOVER IMAGE to hovercreative.css
Am i doing it right?
September 29, 2018 at 5:40 pm #79849
Bogdan DonovanKeymasterHi,
Please attach some screenshots and provide more details as your question is not clear enough.
Thank you in advance.
September 29, 2018 at 5:45 pm #79853
RuiYangParticipantI want to achieve this
September 29, 2018 at 5:49 pm #79855
RuiYangParticipantPicture of hover box as follows. Taken off another website
September 29, 2018 at 5:51 pm #79857
RuiYangParticipantAfter resizing the images…
Attachments:
You must be logged in to view attached files.September 29, 2018 at 6:11 pm #79864
Bogdan DonovanKeymasterIf you want to achieve a darker background after hovering the banner you can check the Color Mask option in Promo Banner element settings (http://prntscr.com/l08ch6)
Regards
October 1, 2018 at 1:54 am #79962
RuiYangParticipantThere is an issue with this. adding Color Mask option would darken my image even before hover.
October 1, 2018 at 7:16 am #79983
Bogdan DonovanKeymasterHi,
Try to add the following code snippet to the Custom CSS area in Theme Settings.
.promo-banner .wrapper-content-banner { -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; background-color: rgba(0,0,0,0) } .promo-banner:hover .wrapper-content-banner { background-color: rgba(0,0,0,.5) }Regards
October 2, 2018 at 8:08 am #80268
RuiYangParticipantHow do I make my text/ content a text that appears upon hover as well. Because now, only my buttons are shown upon hover while the text is static.
October 2, 2018 at 8:49 am #80291
Bogdan DonovanKeymasterHi,
Please provide the link to your site banners page so we can check it and prepare the custom code for you.
Regards
October 12, 2018 at 7:40 am #82355
RuiYangParticipanthi,
sorry for the late reply.
My website is: ideointerior.sg
Please scroll down to the SCANDINAVIAN DESIGNS section
For the words in white, I would like to only show it upon hover.
Thank you.
October 12, 2018 at 8:56 am #82377
Bogdan DonovanKeymasterHi,
Try to add the following code snippet to the Custom CSS area in Theme Settings.
.promo-banner .wrapper-content-banner .content-banner { opacity: 0; visibility: hidden; transition: all .25s ease, -webkit-transition: all .25s ease; } .promo-banner:hover .wrapper-content-banner .content-banner { opacity: 1; visibility: visible; }Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register