Home Forums Pro Themes Profitmag Pro How To Set Slider Width and Height To Be The Same For All images

This topic contains 6 replies, has 3 voices, and was last updated by  wensolutions 2 years, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36964

    xsrock
    Participant

    Hello,
    I have been currently hand cropping my images for the slider for each post to make them all match in size and width. I would like to set this to be the same for all featured images. I have other areas of the page…see new releases and interviews where I want the image to be a square and not have to be cropped for height because the slider. What is the best way to accomplish this? http://www.xsrock.com
    Thanks for your help!

    #36984

    wensolutions
    Keymaster

    Hello @xsrock,

    Please try regenerating your thumbnails once with the help of plugin like : https://wordpress.org/plugins/regenerate-thumbnails/ and see if it resolves the issue.

    If the above approach does not resolve the issue,please let us know and we will look further into the issue.

    Hope this Helps,

    Best Regards !!

    #41605

    xsrock
    Participant

    Hello, I tried regenerating the thumbnails and I am still having the same problem, Ideally, I would like all slider images to be the same size, regardless of their original dimensions. You can see the slider at http://www.xsrock.com It is quite frustrating to have it leave such a large gap between the slider and the home page sections because of the size of some images. Thanks in advance for your help

    #41627

    wensolutions
    Keymaster

    Hello @xsrock,

    In order to solve your issue use below given CSS .

    For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.

    @media(min-width:769px){
    .slider-section .bx-wrapper img {
        max-height: 368px;
    }
    }

    Hope this helps .

    Best Regards!!

    #50720

    Jocelyn hernandez
    Participant

    Do you have a CSS code for the Feature block section as well? To keep images same size??

    #50721

    Jocelyn hernandez
    Participant

    also images througout the website?

    #50802

    wensolutions
    Keymaster

    Hello @hjocelyn,

    At first please try regenerating your thumbnails with the help of plugin like :

    https://wordpress.org/plugins/regenerate-thumbnails/

    and see if it resolves the issue.

    If the above approach does not resolve the issue, please share with us your website URL and the screen shot of the section that you are having issue with .

    Also it is recommended to use image of uniform size .

    Hope this Helps,

    Best Regards !!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.