Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1135238
    jcmckay3
    Participant

    I noticed on your demo page for the Ethos stack you have a post slider at the top of the page. I’d love to be able to place this on ONLY the bbPress page for my members. I’d also like it below the static header menu or masthead instead of above. How can I accomplish this? When I enable it under customizer, it shows on all of my pages. I have a child theme installed.

    http://demo.theme.co/ethos-1/forums/ That’s your example.

    Thanks for the help!

    -Boomer

    #1135387
    Thai
    Moderator

    Hi Boomer,

    To do that please add the following CSS under Customizer > Custom > Global CSS:

    .x-post-carousel.unstyled {
        display: none;
    }
    .bbpress .x-post-carousel.unstyled {
        display: block;
    }

    Hope it helps 🙂

    #1135524
    jcmckay3
    Participant

    Looks like it worked! Thanks a lot Thai. Much appreciated. If I wanted to add it to an additional page, how would I do this? Also, for the “News” page that comes with the ethos template, what slider is used up top to display recent posts? How would I accomplish this?

    Thanks,

    Boomer

    #1136080
    Rue Nel
    Moderator

    Hello Boomer,

    Thanks for writing in! If you want to add it on additional page, simply use a page ID or post ID. For example, you will have this code:

    .x-post-carousel.unstyled {
        display: none;
    }
    .bbpress .x-post-carousel.unstyled,
    .page-id-123 .x-post-carousel.unstyled,
    .postid-123 .x-post-carousel.unstyled{
        display: block;
    }

    Please take notice that we are using .page-id-{#} and .postid-{#}. To know how you can find the post ID or page ID, please check it here: https://community.theme.co/kb/how-to-locate-post-ids/

    On the other hand, in the news page, the slider is the post slider which you can enable in the customizer. Simply go to Appearance > Customize > Ethos > Post Slider. You can enable/disable the slider both in the blog or archive pages. And please make sure that “Filterable Index” is turned off.

    Hope this helps.

    #1143081
    jcmckay3
    Participant

    I have everything turned on, and the slider is still not showing up on my “News” page. Does it use a specific slider plugin?

    #1143489
    Lely
    Moderator

    Hello Boomer,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – News page with issue

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

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