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.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Can't get identical featured image size in divi post list

Discussion in 'Free Divi Community Forum' started by Fr3dK, Sep 27, 2024.

  1. Fr3dK

    Fr3dK New Member

    Hi there,

    Title says it all. I am trying to have a vertical post list that shows feature images with identical sizes. So far:
    • I have ensured the thumbnail size was defined
    • I recroped some of the pictures to test if it would help: same size pictures come out differently
    • I tried to have a custom CSS (did not seem to have any effect)
      .et_pb_post .entry-featured-image-url {
      float: left;
      width: 100%;
      max-width: 150px; /* Taille maximale de l'image */
      height: auto; /* Maintient le ratio de l'image */
      margin: 0 20px 30px 0;
      }
      .et_pb_post .entry-featured-image-url img {
      width: 100%; /* L'image remplit le conteneur */
      height: 100%; /* Force la hauteur pour un format homogène */
      object-fit: cover; /* Couvrir tout le conteneur sans déformer l'image */
      }
    Nothing worked. Even though not exactly the case, it looks like alignment is one out of 2.

    Spent hours on this and lost my hair. I am lost.

    Any idea anyone?

    Best regards

    Capture d’écran 2024-09-27 à 14.36.46.png
     
    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
  2. Fr3dK

    Fr3dK New Member

    So it looks like the size of the featured picture is a function of the length of the excerpt