Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1123834
    mahmoud237
    Participant

    How can I change the background of a section when I hover on a photo on it.

    Thanks

    #1123837
    mahmoud237
    Participant
    This reply has been marked as private.
    #1123906
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .tg-item-overlay {
        background-color: #ddd !important;
    }

    Let us know how it goes.

    Thanks.

    #1124064
    mahmoud237
    Participant

    No, it didn’t work .. let me clarify.

    I have two backgrounds … You can see it on attachment (1) & (2)

    I put an image (3) on the background (1) … see the image on attachment.

    Here is what I want :

    I want when I hover on image (3) the background change from (1) to (2)

    thanks,

    #1124162
    Rupok
    Member

    Hey there,

    Thanks for writing back! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1125574
    mahmoud237
    Participant

    I understand that …but I’ll make it easier so you can help me on it.

    is there a way to change an image or background while hover on it … it is that simple no need to complex things like my first inquiry .

    Thanks again for you support .. I appreciate that 🙂

    #1125807
    Joao
    Moderator

    Hi There,

    Please add the following code and change the image URL for the desired image.

    .home #x-section-1:hover {
    background-image: url("https://www.wellesleyfreelibrary.org/wp-content/uploads/2016/06/space-1.jpg") !important;
    }

    Hope it helps

    Joao

    #1126356
    mahmoud237
    Participant

    Thanks a lot … it’s worked 🙂

    #1126480
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

    #1138870
    mahmoud237
    Participant

    How can I add a fade effect to the second background when hover in it … I tried some coding but it didn’t work for me

    #1138871
    mahmoud237
    Participant
    This reply has been marked as private.
    #1139174
    Friech
    Moderator

    Hi There,

    You can add the opacity property on the given.

    .home #x-section-1:hover {
        background-image: url("http://www.georgantasdesigns.com/wp-content/uploads/2016/08/6.png") !important;
        opacity: 0.75;
    }

    Hope it helps, Cheers!

    #1139474
    mahmoud237
    Participant

    Thanks but what I mean by fade I mean slowly appear

    #1139966
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! If you want it to fade slowly, please update the css code and use this instead:

    .home #x-section-1{
        opacity: 1;
        transition: opacity 1s linear;
    }
    
    .home #x-section-1:hover {
        background-image: url("http://www.georgantasdesigns.com/wp-content/uploads/2016/08/6.png") !important;
        opacity: 0.75;
    }

    Please let us know how it goes.

    #1140702
    mahmoud237
    Participant

    it is the same effect as before … I want it to fade slowly like fade in .

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1123834 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>