• Resolved mevilsizor

    (@mevilsizor)


    On an event’s detail page, for example
    https://www.lindahall.org/event/ocean-exploration-david-gallo/

    The main_title for the page is empty
    <h1 class=”main_title”></h1>

    However since most pages use this for the actual page title, it takes up vertical space and pushes the content down.

    I would like to do one of the following
    – Set The Events Calendar to use the main_title slot for the event title
    – Set main_title slot to display: none; on all event detail pages
    – By other means make the main body of the event detail page match the vertical position of the sidebar.

    Has anyone worked through this and have a suggestion?
    I would rather not do a whole The Events Calender design as I love all the rest of it and just need to make this one tweak.

    Thanks

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mevilsizor

    (@mevilsizor)

    Digging a little deeper I found a solution that seems specific enough that it will only effect these pages.

    /* this is to omit the blank space on event detail pages */
    #post-0 .main_title {
    display: none;
    }

    If anyone sees any potential problems with this, please chime in.

    Thanks

    Barry

    (@barryhughes-1)

    If it was a purely cosmetic problem and the CSS you crafted fixes it, that’s great – there are no obvious problems jumping out at me ??

    Thread Starter mevilsizor

    (@mevilsizor)

    Thanks for your feedback Barry.

    Barry

    (@barryhughes-1)

    Pleasure!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘On event detail page how can I hide main_title?’ is closed to new replies.