Home Forums Pro Themes Business Field Pro Fixing Featured Slider Size

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #186428
    adamhunt_gsl
    Participant

    Hi,

    The featured slider is too big on our page. I’ve tried to crop, resize images to the recommended 1920 x 800 px and less to get the images to display correctly but the slider depth appears fixed and goes past the bottom of the page.
    I have tried CSS such as .featured-slider article { height: 500 px} and max-height but these don’t seem to have any effect.
    What we want is the bottom of the image to align with the bottom of a typical screen size/resolution so that a visitor can see there is more when scrolling down.

    Any help please?

    #186430
    Psink
    Keymaster

    Could you please share your site URL? We will check and provide CSS that works for you

    #186431
    adamhunt_gsl
    Participant

    Hi Psink,

    Sure, site is currently on http://beachenergy-co-uk.stackstaging.com/

    #186452
    sanam
    Keymaster

    Hi Adamhun,

    Please add the following CSS into additional CSS.

    #main-slider img {
    height: 500px;
    object-fit: cover;
    }

    You can adjust the height as per your need.

    Regards

    #186489
    adamhunt_gsl
    Participant

    This worked perfectly, thank you!!

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