Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #633406

    Hi

    In the theme, the image hover shows a red arrow before the click. I need to change it instead of default to other image or other background. For example to have the image in black and White and when hover to show the same picture in color (other file of course).

    Thank you very much

    #633912

    Hey hdpcr,

    Can you please post the link to your website and point out the image elements you would like to edit?
    If you would like to apply it to certain images, please turn on custom CSS field for ALB elements – kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element and give it a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .your-custom-class img {
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -o-filter: grayscale(100%);
        filter: gray;
        -webkit-transition: all .6s ease;
        transition: all .6s ease;
        -moz-transition: all .6s ease;
        -o-transition: all .6s ease;
    }
    .your-custom-class img:hover {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
        -moz-filter: grayscale(0%);
        -o-filter: grayscale(0%);
        filter: none;
    }

    Best regards,
    Yigit

    #633927

    Hi

    Please see the second logo where it says Paraiso. Also loooking at this CSS i don’t see whre to set the image source. as it has to change to other.

    Thank you very much

    #634067

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #av-layout-grid-1 .image-overlay {
        display: none!important;
    }
    #av-layout-grid-1 img {
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -o-filter: grayscale(100%);
        filter: gray;
        -webkit-transition: all .6s ease;
        transition: all .6s ease;
        -moz-transition: all .6s ease;
        -o-transition: all .6s ease;
    }
    #av-layout-grid-1 img:hover {
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
        -moz-filter: grayscale(0%);
        -o-filter: grayscale(0%);
        filter: none;
    }
    

    Best regards,
    Yigit

    #634097

    Hi

    Thank you very much for your quick reply.
    This is really nice effect, the problem is the page is not updated yet as i didnt know how it goes with this matter. What i need is that image before hover to change to a whole other image on hover. The logo image will be white on black background and i need when hover to be on a gradient (because its the band book guidelines) background as i’m not sure it is possible via CSS i was just asking if i can have image1.jpg and on hover image2.jpg. If you you have any doubt on this please let me know to buit a sample page so you can see it.

    Than you very much

    #634190

    Hi!

    can you please spare a moment and create the demo so we can provide the CSS based on the page results?

    Thanks a lot for your understanding

    Cheers!
    Basilis

    #635549

    Hi

    As you can see in the page the code you provided to me works only if image has colors 4 first logos are actually in color as you can see when hover, and have left the last one (it says Jardin Oriental) as i needed in normal stat its like you see the logo and text are in white and the backroud in black so i need when hover to show the logo as the otherx in color (red beckground) when you hover. All images are jpg

    Thank you

    #635917

    Hi,

    All of your images have red background while “Jardin Oriental” one does not. Please edit it and upload it with red background as well.

    Best regards,
    Yigit

    #635935

    Hi

    I left it that way on purpose (so you can see it)becasue thats the state of image before hover. All images wiill be that way and when hover i want them with red background if possible.

    Thank you

    #635945

    Hey!

    It is not easily possible to switch to another image on hover. Please feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/ or hire a freelance developer if you urgently need it.

    Cheers!
    Yigit

    #636045

    Hi
    It’s ok. Also is it possible instead of grey to hay black and white and on hover the original color. Of course i will have to change the logos ti have them just with plain colors and without background so you can apply black and white filter if exist.
    Oh and how do i apply this effect only for selected pages with maybe ABL.

    Thank you very much

    #636879

    Hi,

    please use different tickets for different questions. Explain exactly what you want to achieve in your new ticket. Provide us precise links and if possible also a mockup showing what you want to achieve. You can use imgur.com or dropbox.

    Best regards,
    Andy

    #637539

    Hey!

    I am not sure if i understood changes you would like to make clearly.
    Solutions we provide may not be cross browser and we cannot provide you complicated solutions unfortunately. That being said, please post screenshots showing the changes you would like to make so we can make sure that we are on the same page.

    Regards,
    Yigit

    #637600

    Hi Yigt

    Thank you for reponening this ticket. If you can see last balck and white logo (Jardin Oriental) or any image. What i need is the same CSS provided before just instead of Filter Grayscale maybe balck and white if exist.

    Thank you very much.

    #637608

    Hi!

    Code i posted here – https://kriesi.at/support/topic/image-hover-2/#post-633912 should exactly do that

    Best regards,
    Yigit

    #637707

    Hi Yigit

    Yes i know that is the code, its just the filter is gray scale and i was wondering if there is just black and white instead?
    Or gray scale would be the same?
    Sorry for the confusion
    Thank you very much

    • This reply was modified 8 years, 7 months ago by hdpcr.
    #637750

    Hi,

    That would be the same :)

    Best regards,
    Yigit

    #637842

    Hi
    Thank you for the explanation :)

    Sorry to bother. I joust found out tthat CSS works just in a grid. What do i have to change to have the same effect in a color section or column etc..
    I used the grid to have those 5 logos but what if i want the same effect for other images located outside a grid i mean other images not only logos.
    I know this ticket has bee a pain… but one it works here i will be for almost the rest of site :)

    Thank you very much for your patience :)

    #637987

    Hi,

    Have you turned on custom CSS field by referring to this post – kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/? If so you should be able to edit every element (including column elements :) ) and give them a custom CSS class. You can apply the same CSS class to every element that you would like to apply the effect :)

    Best regards,
    Yigit

    #638123

    Hi Yigit
    I toke the previous CSS (first one) and it worked fine.

    Thank you very much for this great help and feature.

    #638137

    Hi!

    You are welcome, glad we could help :)

    Regards,
    Yigit

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Image Hover’ is closed to new replies.