Change a picture dimenstions

Home Forums Jevelin Theme Change a picture dimenstions

Home Forums Jevelin Theme Change a picture dimenstions

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Realdo
    Participant

    Hello!

     

    We would like to change a picture dimensions in a portfolio

    Heigth 600 px

    At the moment picture is way too big: https://www.screencast.com/t/6Bz0rt4CP1

    How we can do that?

    Hi @Pioes,

     

    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

    Realdo
    Participant

    Sure, here is a portfolio: http://pioes.dev5.case.lv/

    Here is one of examples: http://pioes.dev5.case.lv/project/dipi-souce/

    We need all portfolio pictures smaller

    You can achieve 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

     

    #page-container  .sh-portfolio-single-image img {
        width: auto;
    }
    
    .sh-portfolio-single-right.col-md-8 {
        text-align: center;
    }

    Realdo
    Participant

    Hello!

     

    it doesnt works, images still are way too big, please see a link

     

    Width should be 800 px as maximum

     

    Please let me know how to fix that

    The image width on your shared page is 724px which is lower than 800px so do you want to reduce its height?

    Realdo
    Participant

    Hello! Thank you for the answer

    Sorry I meant height – at the moment it is 1024 px, but I need 800 px as maximum. So the picture would fit in a screen.

    You can use below custom CSS code to reduce its height.

     

    #page-container  .sh-portfolio-single-image img {
        max-height: 800px;
    }
Viewing 8 posts - 1 through 8 (of 8 total)