Remove "View as" toggle function

Home Forums Calendar Products Filter Bar Remove "View as" toggle function

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119258
    Lars
    Participant

    Is it possible to remove the Toggle function from the “View as” function so that our two “View as” options (Week and Map) both will be showing at the same time?

    #120021
    Barry
    Member

    Hi Lars,

    Definitely possible. Purely to give some insight, if you visit Events → Settings  Display and select Skeleton Styles you should see that the list of views is displayed as a simple list, rather than as a dropdown.

    So one approach is to follow that path (especially if you are going to be making a lot of changes) and rebuild things the way you want with custom CSS. An alternative would be to keep full Tribe Event Styles and add CSS to knock-out or override only those rules that are impacting. Here is a fairly minimal example of this:

    #tribe-bar-views li.tribe-bar-views-option { display: block; }

    This could for instance be added to a custom tribe-events.css stylesheet, as described in the Themer’s Guide. Of course you may need to expand on this to account for other presentational issues, but it should give you a starting point.

    I hope that helps 🙂

     

    #120152
    Lars
    Participant

    Thanks! Finally something simple. Didn’t occur to me that this could be done by CSS alone.

    #138444
    Barry
    Member

    Closing this thread out as it’s been a while without activity. Of course if you need further help on this or any other issue please don’t hesitate to create a new thread 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove "View as" toggle function’ is closed to new replies.