Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #879237
    mattsan
    Participant

    I’ve looked through the forum but can’t find the following;

    I have (for example) 5 post types; posts, pages, students, staff, courses

    I’d like to have sidebars showing on ‘students’ and ‘staff’ custom posts, but all other pages full-width.

    I know I should be able to do this by adding some code to the CSS customiser but I don’t know the code..

    #879817
    Zeshan
    Member

    Hi Matt,

    Thanks for writing in! To assist you with this, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you.

    Meanwhile, to remove the sidebar on pages and posts, try adding following CSS code under Custom > CSS in the Customizer:

    .page .x-main, .single-post .x-main {
      float: none; 
      width: 100%;
    }
    
    .page .x-sidebar, .single-post .x-sidebar {
        display: none !important;
    }
    

    Thanks!

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