Sidebar on Single events only

Home Forums Calendar Products Community Events Sidebar on Single events only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1082889
    Johan
    Participant

    Hello, I have page with sidebar set in the settings of Events Calendar Pro.
    It’s good for the single event pages, but how can I remove the sidebar from the other event pages that lists the events?

    Just .sidebar {display:none;} dont solve the problem since the content still float to the left and not full width.

    ~Johan

    • This topic was modified 10 years, 1 month ago by Johan.
    #1082937
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    What about trying this css instead:

    .post-type-archive-tribe_events .content-main {
    float: left;
    max-width: 100%;
    }

    .post-type-archive-tribe_events .sidebar {
    display:none;
    }

    Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.

    Let me know if that helps.

    Thanks

    #1082945
    Johan
    Participant

    Thats just great. Your code did the job!
    Thank you very much.
    ~ Johan

    • This reply was modified 10 years, 1 month ago by Johan.
    #1082970
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Sidebar on Single events only’ is closed to new replies.