Removing featured content from 2nd level pages in Chronicle Theme

  • Unknown's avatar

    Hi Folks,

    I use the Chronicle theme which supports 4 feature content blocks under the header. I love it, but those feature blocks show up on all other pages, overshadowing my content for those pages. Does anyone know if it’s possible to hide those feature blocks on internal pages, like how full-width pages hide sidebars?

    Thanks,
    Joe

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

  • Unknown's avatar

    Hi Joe,

    Give this a try, as an example this should disable the content blocks on your non-fiction page only.

    body.page-id-2402 .showcase{
    display: none !important;
    }

    If you also wanted to make this adjustment on your short fiction page for example, simply swap out the page id # with 291 so it would look like this:

    body.page-id-291 .showcase{
    display: none !important;
    }

    You can find the page id numbers by viewing your site in Chrome, right clicking and selecting inspect, and then looking at the code that appears after “body class=”. You should see a page-id-#. That # corresponds to whichever page you’re currently viewing.

    -Jamie

  • Unknown's avatar

    Thanks so much, Jamie. That worked like a charm. I really appreciate you taking the time. Have an awesome week.

    Joe

  • The topic ‘Removing featured content from 2nd level pages in Chronicle Theme’ is closed to new replies.