Defaut Active Category on Porfolio

Home Forums Jevelin Theme Defaut Active Category on Porfolio

Home Forums Jevelin Theme Defaut Active Category on Porfolio

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    RESOLVED Posts
  • ben
    Participant

    Hello

    I wanted to hide the “all” category in the portfolio so I manage to make this and this with the CSS code and it is working.

    /* hide”ALL” in portfoolio */
    .sh-filter-container span.sh-filter-item[data-filter=”*”] {
    display: none;
    }

    But actually, I wanted that the first category was active by default ?
    Just link below I want the “CULINAIRE” active.

    And I’m unable to find the way.

    Hi @ben,

     

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

     

    You can achieve this by using the custom plugin solution shared in the below topic.

     

    https://support.shufflehound.com/forums/topic/how-can-i-remove-all-from-portfolio-categories/#post-12314

     

    Best regards,
    Shufflehound team

    ben
    Participant

    I didnot cacth everything i have to make this code ??

    in the plugin that makes custom JS ?

    $(‘.sh-filter .sh-filter-item:nth-child(2)’).trigger(‘click’);

     

    Solution for this topic

    Please just download the attached custom plugin, install and activate it on your website.

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

    ben
    Participant

    installed and activated….
    still the all content displayed.

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

    You are using the wrong custom plugin on your website please use the custom plugin that I have shared in my earlier reply that contains updated code.

    ben
    Participant

    Soooooooo many thanks !!!!!!

    You are most welcome here 🙂

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