Okay
  Public Ticket #2568051
Filter Adjustments
Closed

Comments

  •  5
    zdenekklika started the conversation

    Hello, thanks for pretty calendar plugin, I have question how to edit options in filters:

    I would like to remove the option from the selection. For example, I would like to remove the "unlisted" option from the location selection. 

    Next I need to remove the "Online events" and "No location" options from the locations filter.

    Thanks for help.

    Zdenek

  •  780
    Zhivko replied

    Hi,

    Go to Dashboard -> STEC -> Fonts & Colors -> Custom style tab and add following css:

    .stec-top-menu-filter-by-location li[data-location="stec-virtual"],
    .stec-top-menu-filter-by-location li[data-location="none"],
    .stec-top-menu-filter-by-category li[data-catid="0"] {
        display: none !important;
    }
    

    Stachethemes Developer

  •  5
    zdenekklika replied

    Hi, thanks for quick answer.

    I pasted the code above, but the filtering stopped working. 

    It is possible to completely hide the location filter? I don't necessarily need it on the site.


  •  780
    Zhivko replied

    It's strange for the filter to stop working from this css. Is it possible to send me link to the front-end to take a look?


    Stachethemes Developer

  •  5
    zdenekklika replied

    I have limited access to the site currently, send me pls your public ip for access.

  •  780
    Zhivko replied

    84.43.204.12


    Stachethemes Developer

  •  5
    zdenekklika replied

    ok, https://new.pacov.cz/

    If you will need, i can send administration access to you.

  •  780
    Zhivko replied

    I've tested the problem locally and it turned out there'a bug in the minifer we used to compress the javascript.

    We'll upload fix today for this. (v3.1.7)


    Stachethemes Developer

  •  5
    zdenekklika replied

    OK, filtering now works. Thanks.

    One more question: It is possible to completely hide the location filter? I don't necessarily need it on the site.

  •  780
    Zhivko replied

    Yes, via custom css:

    .stec-top-menu-filter-by-location { display: none !important; }

    Stachethemes Developer

  •  5
    zdenekklika replied

    Thx very much for your replies.