1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Zoom effect on background image

Discussion in 'Free Divi Community Forum' started by gaetan, Jul 22, 2019.

  1. gaetan

    gaetan Member
    Pro Member

    Hello,
    I would like to know how to keep the image in the frame when the mouse moves over the image?
    http://maraisdesaone.ovh/

    Look at the screenshots ;) Thanks
     

    Attached Files:

    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can try go to the Row settings > first column settings > Advanced > Custom CSS > Main Element & add overflow: hidden!important;

    Though, it will only hide the elements that expand over the column: top, left & right, but not bottom. This is because the bottom has another module within the same column.
     
  3. gaetan

    gaetan Member
    Pro Member

    Thanks for the reply.
    Yes, you're right...
    So how can I have the desired effect? (look screenshot)
    (Above the modifications I ask for, there is the same thing with images, it works fine, but I want to add text...)
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Cart Count Plugin - Easily add cart count to your Divi cart icon. 6 different styles to choose from:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    I see you use a hack of 2 rows + negative margin to achieve that.

    Other hack would be using image module + text module (negative margin to lay on top of the image module). Just a thought.
     
  5. gaetan

    gaetan Member
    Pro Member

    Yes, I already tried that, but the responsive was not well.
    With my hack it's okay, just in responsive mode one of the picture just disappear and I don't know why. Any suggestions ?
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  6. gaetan

    gaetan Member
    Pro Member

    I found the problem. Nevertheless, in responsive, when I reduce the window, there is a small bug, how to fix it?
    Look at the screenshot, thank you ;)
     

    Attached Files:

  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    That happens when the text break into two lines, which caused the text module to have a taller height.

    upload_2019-7-22_22-43-39.png

    What you can do is go to each text module settings & set a height for them:

    upload_2019-7-22_22-47-13.png

    You can check the current height using the inspect element tool:

    upload_2019-7-22_22-48-12.png
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo
  8. gaetan

    gaetan Member
    Pro Member

    Yes, thanks it works fine ;)
    Thanks a lot !