Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #945095

    Please check my homepage http://javabellaphotography.com/, see private content for the login information.

    My image is being cut off, especially the top position.

    This is the original image: https://imgur.com/a/6OMroBu

    How do I fix this?

    #945712

    Hey Jeffrey Anthony,

    Thank you for using Enfold.

    The images in the full screen slider are set as background and the default background size property is set to “cover”. You can find the definition of the background size value in this link. (https://www.w3schools.com/cssref/css3_pr_background-size.asp)

    We can set the background size value to “contain” or “100%” but it will create white space around the container or distort the image. Example.

    .avia-fullscreen-slider .avia-slideshow >ul > li {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }

    Best regards,
    Ismael

    #945724

    Ah okay, understood. So that means it’s not possible to find fix width and height in pixels (so it looks perfect on the screen), due to the different resolution for each user. Am I right?

    #945779

    Hi,

    Yes, that’s right. Try to use images with sizes that are within the standard screen resolution minus the site’s header height.

    // https://www.w3schools.com/browsers/browsers_display.asp

    Demo: (my screen resolution 1920x1080px)

    Actual Image: https://imgur.com/a/W145ciC (1903x803px)
    Full Screen Slider: https://imgur.com/a/x3h4dh5

    Best regards,
    Ismael

    #945800

    Thank you for the explanation Ismael! Now it’s crystal clear.

    #946389

    Hi,

    No problem. Please create a new thread if you need anything else. :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.