Sela theme: hiding page titles on grid pages

  • Hi,

    I’m trying to sort out my event listings by using the grid feature in the Sela theme.

    But ideally I don’t want the page titles to be on display in the grid as the feature images already contain text – I can’t seem to find a work around. Any help would be much appreciated.

    It’s this page: http://noirwich.co.uk/events-2/

    The blog I need help with is: (visible only to logged in users)

  • To hide the child pages’ titles on this particular page, add this to your custom CSS:

    .page-id-86 .child-pages .entry-title {
      display: none;
    }

    To do the same on all pages using the grid template, this should do the trick instead:

    .child-pages .entry-title {
      display: none;
    }

    Let me know how it goes.

  • This was very helpful.

    There will be one other page I need to do this too – how did you find the page-id number?

    Thank you so much

  • Glad that was useful! You can find the page ID by viewing the browser source and looking for the number in the body tag:

    <body class="page page-id-86 page-parent page-template page-template-page-templates page-template-grid-page page-template-page-templatesgrid-page-php logged-in admin-bar no-customize-support custom-background mp6 typekit-enabled customizer-styles-applied not-multi-author no-sidebar display-header-text theme-menu-maximized highlander-enabled highlander-light custom-colors">

  • The topic ‘Sela theme: hiding page titles on grid pages’ is closed to new replies.