• Resolved stephanczupala

    (@stephanczupala)


    Hello,
    i would like to have child terms unfolded by default on desktop for the category term. And I also would like to change the color of the “+”-Symbol.

    Thanks in advance for any help,

    Cheers, Stephan

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello @stephanczupala

    Thank you for using Filter Everything plugin.

    You can make parent items opened by default if you add next code to the functions.php of your active theme and edit it in accordance with your Filter ID (it seems it is 47898)

    add_filter( 'wpc_hierarchy_opened', 'my_hierarchy_filters_opened_by_default' );
    function my_hierarchy_filters_opened_by_default( $filters_opened_by_default ) {
        // Filter ID you can find here - https://prnt.sc/BO4FvLPyQuBb
        $new_opened_by_default = [
            1913, // Filter ID
        ];
        return array_merge( $filters_opened_by_default, $new_opened_by_default );
    }

    To change color of the “+” symbol you have to add next CSS for example in Filters -> Settings -> Experimental -> Custom CSS

    i.wpc-toggle-children-list:after, i.wpc-toggle-children-list:before {
        background-color: #cc0000; // Red for example
    }


    If it is possible I would be thankful for a positive review about the plugin here on www.ads-software.com – https://www.ads-software.com/support/plugin/filter-everything/reviews/ This will help me to populate the plugin.

    Thank you in advance!

Viewing 1 replies (of 1 total)
  • The topic ‘Unfold child terms by defaut on desktop’ is closed to new replies.