Margin in a marginless gallery

Home Forums Jevelin Theme Margin in a marginless gallery

Home Forums Jevelin Theme Margin in a marginless gallery

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • daykraba
    Participant

    Hi,

     

    I encountered a problem after updating your theme.

     

    My marginless portfolio gallery on the main page suddenly obtained a margin! And I can’t figure out the solution for this. I want my gallery to have no margin between the items.

     

    Before/after gif is presented in private section, as well as website link.

    Hi @daykraba,

     

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

     

    You can remove the margin 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 div.sh-portfolio-item {
        padding: 0 !important;
        margin: 0 !important;
    }

    Best regards,
    Shufflehound team

    daykraba
    Participant

    It removed the margin, but gallery doesn’t fit into the borders now.

    Screenshot is in the private section.

    To fit the Gallery, please also use the below CSS code.

     

    #page-container .sh-portfolio {
        margin: 0 !important;
    }
Viewing 4 posts - 1 through 4 (of 4 total)