Video on Default Portfolio Layout

Home Forums Jevelin Theme Video on Default Portfolio Layout

Home Forums Jevelin Theme Video on Default Portfolio Layout

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • jkazerooni
    Participant

    Hi there,

    I’d like to have videos on my projects displayed in the same way as images.

    Is there a way to have a video in the Default portfolio layout? I don’t like the layout you have for videos.

    Please let me know.

    Thank you!

    Hi @jkazerooni,

     

    Thank you for your question.

     

    You have to develop custom CSS code to achieve this.

     

    You can try achieving 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

     

    @media (min-width: 992px) {
    .sh-portfolio-single-video {
        width: 66.666667%;
        float: left;
    }
    
    .sh-portfolio-single.row {
        width: 33.333333%;
        float: left;
        margin: 0;
        padding-top: 0;
        padding-left: 15px;
    }
    
    .sh-portfolio-single-slider .sh-portfolio-single-right.col-md-8,
    .sh-portfolio-single-slider .sh-portfolio-single-left.col-md-4 {
        width: 100%;
    }
    }

     

    Best regards,
    Shufflehound team

    jkazerooni
    Participant

    Thank you very much for the quick reply!

    Your code worked for the video portfolio layout, but it added some padding above the page switcher buttons.

    And unfortunately it messed up the Default portfolio layout (see attachments).

    How can we fix that?

    Thank you!

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

    Please use the below CSS code relacing the above shared code.

     

    @media (min-width: 992px) {
    .sh-portfolio-single-video {
        width: 66.666667%;
        float: left;
    }
    
    #page-container .sh-portfolio-single-slider .sh-portfolio-single {
        width: 33.333333%;
        float: left;
        margin: 0;
        padding-top: 0;
        padding-left: 15px;
    }
    
    .sh-portfolio-single-slider .sh-portfolio-single-right.col-md-8,
    .sh-portfolio-single-slider .sh-portfolio-single-left.col-md-4 {
        width: 100%;
    }
    }

    jkazerooni
    Participant

    Hi there.
    I have a new problem with videos on the portfolio page.
    I inserted a link to a 1080×1080 video and for some reason it doesn’t show up on the portfolio page. Only 1920×1080 videos are displayed.
    What can be causing this and how to fix it?
    Thank you.

    Shufflehound
    Moderator

    Hi there,

     

    Would it be possible for us to test it on your website? As of the moment, we can’t replicate the issue.

     

    Best regards,

    Shufflehound team

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