Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1396262
    jeffdesign
    Participant

    Is it possible to remove the ‘Post Slider Display – Blog’ hero header on the blog category pages only. I’d like to keep the Post Slider Display feature for the main blog page, but remove it when someone clicks on a link in the category sidebar.

    The reason is because it often leaves a large blank space at the top of those pages.

    This URL shows an example of the blank space at top of page…

    http://www.stangreensponcenter.org/category/charlotte/

    Thank you.
    Jeff

    #1396328
    Rupok
    Member

    Hey Jeff,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    .archive.category .x-header-landmark {
        display: none;
    }

    If you want to hide from tags page as well, then use this instead :

    .archive .x-header-landmark {
        display: none;
    }

    Hope this helps.

    Cheers!

    #1396393
    jeffdesign
    Participant

    Thank you. This got me looking in the right direction. Here is the code that seems to have worked.

    /*hides blog post slider hero at top of page for archive categoroes etc*/
    .archive .x-post-slider {
    display: none;
    }

    Best,
    Jeff

    #1396426
    Joao
    Moderator

    Glad to her it Jeff,

    Let us know if we can help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1396262 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>