Gallery Slider Image Height

Home Forums Jevelin Theme Gallery Slider Image Height

Home Forums Jevelin Theme Gallery Slider Image Height

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    RESOLVED Posts
  • Jen520
    Participant

    Is there any way to increase the height of the portfolio gallery slider so that my image isn’t cropped? Thank you in advance.

    Hi @Jen520,

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where it is displaying so that i can help you to achieve it?

     

    Best regards,
    Shufflehound team

    Jen520
    Participant

    This page for example: http://jenniferjohnsonart.com/project/green-river-ordinance/

     

    The original image is 1920 x 1400. The gallery slider cuts off the top and bottom of the image. I don’t want to have to resize all my portfolio images if I can help it. Is there a way to modify the height of the slider?

    You can achiev it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-portfolio-single-slider .sh-ratio-content {
        background-size: contain;
    }

    Jen520
    Participant

    Unfortunately, that didn’t work. It caused it to repeat the image on both sides.

    Attachments:
    You must be logged in to view attached files.

    Jen520
    Participant

    Is there a way to plug in a custom size for the gallery slider?

    Solution for this topic

    Try using below CSS code instead of above shared.

     

    .sh-portfolio-single-slider .sh-ratio-content {
        background-size: contain;
        background-repeat: no-repeat;
    }

    Jen520
    Participant

    That worked. Thank you.

    You are most welcome here 🙂

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form