Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

Hide sidebar on specific posts/categories

Hello, I want to hide sidebar and make the content full width on some posts... I have already set in betheme option sidebar to left to all posts.

How can I hide the sidebar on some posts in order to make the content full width.

I used this function:
add_filter( 'sidebars_widgets', 'disable_sidebar_widgets' );
function disable_sidebar_widgets( $sidebars_widgets ) {
    if (is_single(array(3449)))
        $sidebars_widgets = array( false );
            return $sidebars_widgets;
}

and this css lines


.postid-3491 .postid-3493 .postid-3495.sidebar.sidebar-1.four.columns, .ora-articol {display: none !important;}
.postid-3491 .postid-3493 .postid-3495.sections_group {width: 100% !important;}

The problem is that the sidebar is gone for all pages, not only for this ids... please give me a solution.


Have a nice day

Comments

Sign In or Register to comment.