Elementor - Understand Elementor's Image Height Setting

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ •

  • @TheNaturalEnquirer
    @TheNaturalEnquirer 2 роки тому +3

    Thanks for this! I was tearing my hair out trying to get proportionally sized dynamic images to display correctly.

  • @PiyushPrajapati-em3rh
    @PiyushPrajapati-em3rh 10 місяців тому

    Thanks for the code snippet. i have tried this but this is not applying in case of Image box widget. it shows 0 for both height and width

  • @franktielemans6624
    @franktielemans6624 2 роки тому +5

    But you can add CSS to the image and use object-position. (dunno why this is not an option in the editor)
    selector img {object-position: top center;}
    That will align the image to the top when you use object-fit cover.

  • @ldelmar3875
    @ldelmar3875 9 місяців тому

    Can I make the image fit the container height? I would like to use the Min hight of the Container to scale all my images.

    • @websquadron
      @websquadron  9 місяців тому

      Click on the image - go to Advanced - then click on Grow.

  • @nonovurbiz
    @nonovurbiz 6 місяців тому

    there must be a better way than to change each image size one by one..?

  • @owenrees7544
    @owenrees7544 Рік тому

    Why can I not see the height option in Image? Only shows spacing and width

  • @marleycunningham1672
    @marleycunningham1672 Рік тому

    My section background images are getting cropped on the front end. Do you have a tutorial for that?

    • @websquadron
      @websquadron  Рік тому

      Is it due to the height or width?
      Can you tell me the dimensions of your image and the size of the container or section they sit in?
      Cover images can crop so maybe try contain.

    • @marleycunningham1672
      @marleycunningham1672 Рік тому

      @@websquadron Thanks for the reply! On my homepage, I have a section with a testimonial carousel. I have tried adjusting the image size a few different times thinking that was the issue, but no luck. I am unsure where exactly to view or set the section's dims; the layout section in the elementor panel only allows you to set the width of the content within the section, from what I can tell.
      I am currently using a 4500x1664 image as the background in my section. I tried scaling back the pixels, but it just looks blurry when I do. In the Elementor editor, everything looks great. But when I go to preview, the top and bottom of the image are cut off. Padding does help expose some of the image, but makes the section too thick. I did attempt to use contain, but it makes the section boxed in the middle of the page rather than stretching it the full width.

    • @websquadron
      @websquadron  Рік тому

      Can you email me the full image and screenshots of what you see on editor and then on live. Also email me the url for that page.

  • @redharleymn
    @redharleymn 2 роки тому

    Great Video but how to I close the gap between the thumbnail & product information?

    • @websquadron
      @websquadron  2 роки тому +1

      Have you tried inspecting it to get the class name?

    • @redharleymn
      @redharleymn 2 роки тому

      @@websquadron I'm new to Elementor and not sure what you're asking

    • @websquadron
      @websquadron  2 роки тому +1

      @@redharleymn It's for all Websites and not just Elementor. Right Click and then click Inspect. Or try this with SiteOrigins CSS Plugin to modify: ua-cam.com/video/T_zmLYLCkM4/v-deo.html

  • @piermane6134
    @piermane6134 Рік тому

    Thank you so much for your help with all the clarification. Sincerely appreciate.
    I made a composite image 1920 x 2160 which is exactly 2 FullHD screen size. I want to lay out completely as a background image. I am in Cover Mode I noticed that when I use the minheight and set it to 2160 the system crops on the side which is uncessary. I than go to zero and increase the min height the maximum allowed is 1440pixel, but the image is not complete on the background. As soon as I manually imput above 1440 it starts to crop on the side uncessarly. Is it possible to change that 1440pixel maximum min height value before it start cropping? Thank you for your help.

    • @websquadron
      @websquadron  Рік тому

      Have you set it as a cover or a contain.
      Also the size you have won’t work for many screens unless they are viewing on that exact resolution

    • @piermane6134
      @piermane6134 Рік тому

      @@websquadron Thank you for your answer; I have set it to cover. If I set, it will duplicate image. What size do you suggest I work a background panel to give me 2x the height of max width. Should i resize everything to be 1440 x 2880? is 100% width of 1440 better than 1920?

  • @JanesBlignautInHD
    @JanesBlignautInHD 2 роки тому

    Could you do a video on images and layout shifts?

    • @websquadron
      @websquadron  2 роки тому +1

      As in CLS? Yup got one coming out in June - but my advice for catching CLS is to run your site through wepagetest.org as it gives you a video that plays your website movement.

  • @elewebdev
    @elewebdev 2 роки тому +1

    Thanks for the clarification - I was having problems with this too 👍

  • @Theblackchannel01
    @Theblackchannel01 2 роки тому +1

    Thanks squadron

  • @RodMayberry
    @RodMayberry Рік тому

    I'm having issues with getting small logos in a carousel. They show up enormous on mobile!

    • @websquadron
      @websquadron  Рік тому

      Are you sizing them in the style, or with some CSS?

    • @websquadron
      @websquadron  Рік тому

      Maybe try an @media code for the CSS Sizing.

  • @oceanfrontmary
    @oceanfrontmary Рік тому

    Great approach Thanks!

  • @imkaikhalid
    @imkaikhalid 5 місяців тому +1

    Thank you so much!

  • @keaton718
    @keaton718 6 місяців тому

    I wish there was a "max height" setting.

    • @websquadron
      @websquadron  6 місяців тому

      You could add some CSS:
      selector {
      max-height: 50px;
      }

    • @keaton718
      @keaton718 6 місяців тому

      @@websquadron I think I'd sooner use Bricks. Though I can't get bricks to work with Simply Static, so yeah maybe I will try that CSS.

  • @welldesign.design.studio
    @welldesign.design.studio 6 місяців тому +1

    This helped, thanks! I was not aware of the object fit before.

  • @mpctmedi
    @mpctmedi 2 роки тому +1

    thanks. helped a lot

  • @Montenegro.Moonganger
    @Montenegro.Moonganger 10 місяців тому +1

    Thaank you sooooo much

  • @RolandoRiley-xn9yl
    @RolandoRiley-xn9yl Рік тому

    Excellent!

  • @louisandphoebepetboutique
    @louisandphoebepetboutique 11 місяців тому

    Thank you amazing!