I create a custom page template and want to hide the rt panel slide menu (inspirebook theme) in my custom page template.
please let me know how.
I create a custom page template and want to hide the rt panel slide menu (inspirebook theme) in my custom page template.
please let me know how.
Hello kautsardbs,
Are you doing changes in child theme or InspireBook theme directly?
InspireBook theme directly
Hello Kautsardbs,
I recommend you to use child theme instead of doing changes in InspireBook theme directly.
Here are a few reasons:
Check for more details. http://codex.wordpress.org/Child_Themes
BTW you can add following code in functions.php to remove slide panel for particular page template.
function rtp_remove_parent_hooks() {
if( is_page_template('template-name.php') ) {
remove_action( 'rtp_hook_begin_body', 'inspirebook_theme_primary_nav_menu' );
}
}
add_action( 'template_redirect', 'rtp_remove_parent_hooks', 99 );
Thanks
thank you for the explanation
This now happens like http://bidubid.com/welcome-to-bidubid/
please help its completion.
Hello Kautsardbs,
Add following lines of code in style.css
.page-template-template-welcome-php .rtp-main-wrapper { margin-left: 0; }
.page-template-template-welcome-php .rtp-header { margin-right: 0; }
Thanks
thank you very much
You are welcome