Home Forums WoodMart support forum Darkened transparent image upon hover of PROMO BANNER

Darkened transparent image upon hover of PROMO BANNER

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #79840

    RuiYang
    Participant

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

    #79849

    Bogdan Donovan
    Keymaster

    Hi,

    Please attach some screenshots and provide more details as your question is not clear enough.

    Thank you in advance.

    #79853

    RuiYang
    Participant

    I want to achieve this

    #79855

    RuiYang
    Participant

    Picture of hover box as follows. Taken off another website

    #79857

    RuiYang
    Participant

    After resizing the images…

    Attachments:
    You must be logged in to view attached files.
    #79864

    Bogdan Donovan
    Keymaster

    If 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

    #79962

    RuiYang
    Participant

    There is an issue with this. adding Color Mask option would darken my image even before hover.

    #79983

    Bogdan Donovan
    Keymaster

    Hi,

    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

    #80268

    RuiYang
    Participant

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

    #80291

    Bogdan Donovan
    Keymaster

    Hi,

    Please provide the link to your site banners page so we can check it and prepare the custom code for you.

    Regards

    #82355

    RuiYang
    Participant

    hi,

    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.

    #82377

    Bogdan Donovan
    Keymaster

    Hi,

    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

Viewing 12 posts - 1 through 12 (of 12 total)