1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
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

force divi person module use same photo dimensions

Discussion in 'Free Divi Community Forum' started by nejra, May 12, 2020.

  1. nejra

    nejra New Member

    Hello, can you please help me and tell how to get all photos for person module or blurb have same portrait size with no stretching or something like that?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade content toggle design for your Divi site without using any plugins:View Demo
  2. Problemizer.com

    Problemizer.com Divi Expert

    Please provide the URL of the page where you have above mentioned issue. Or at least screenshot. Thank you.
     
  3. nejra

    nejra New Member

    Sorry I had to upload photos like this. But you can see a problem I have. My photos are not the same size (dimensions) but I want to make like a 'box' of person or blurb image one sized so when I upload image it stands in that dimensions, centered but not stretch.
     

    Attached Files:

    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo
  4. Problemizer.com

    Problemizer.com Divi Expert

    Sorry, the image is too small to open. But, I was not lazy so I made you screencast with instructions. :) This may not be the best solution but I hope it solves your issue.

    Screencast:
    https://screencast-o-matic.com/watch/cYhlqggLnP

    Code:
    .someClassName span.et_pb_image_wrap {
    max-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    }
     
  5. nejra

    nejra New Member

    Sorry I’m late with an answer. Yes this is a problem I’m dealing with but still with your css solution it is not solved. Images are still different size.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Industrial' Divi layout for all Pro members:View Demo