• I have a sidebar show up on my pages that I don’t love (ROAD FIGHTER theme). Please see here, to the right: https://brotherichards.com/publications/

    Is there an easy way to delete/remove that side menu to the right of the screen? Note that it only shows up on my sub-pages and not on my main homepage.

    Thanks for any help!
    Eric

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ericdrichards

    You problem can be solved by creating child theme.
    1. After you have created child theme look for sidebar.php in main theme folder.
    2. Now copy and paste that file sidebar.php from main theme to child theme folder and remove all the code that is seen there save it as empty.
    3.Now activate child theme and your problem will be solved.

    Thanks and CHEERS!!

    Thread Starter ericdrichards

    (@ericdrichards)

    Sanjog-

    Thank you so much! What a great reply.

    My skills are terrible. After your post, I tried researching how to create a child page and it’s beyond my abilities.

    Could I pay you to create a child page and then FTP it into the proper folder for me? My email is [email protected] if you are willing/able. I’d be so grateful.

    Lemme know?
    Eric

    Hi @ericdrichards

    1. To create a child theme you need to create a folder name theme-name-child.
    2. Now inside that folder you need to create two main file functions.php and style.css and for the solution of your problem sidebar.php as well.
    3.Now in function.php you need to copy and paste the following code.

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }

    4. Now in style.css you need to copy and paste the following code:

    /*
    Theme Name: Road Fighter Child
    Theme URI: https://www.inkthemes.com/wp-themes/roadfighter-wordpress-theme/
    Description: The Road Fighter WordPress Theme is a simple and beautiful theme with lots of customization options that can tweaked by Theme Options Panel like logos, intro texts, background etc. The Road Fighter Theme supports five widgetized areas (two in the sidebar, three in the footer) and featured images(thumbnails for gallery posts and custom header images for posts and pages). It also includes admin Visual Editor, special styles for posts in the single post and has an optional one-column page default template that removes the sidebar. The theme has fully customizable front page.
    Author: InkThemes.com
    Author URI: https://www.inkthemes.com
    Template: road-fighter
    Version: 1.3.0
    License: GNU General Public License
    License URI: license.txt
    Text Domain: road-fighter
    Tags: orange, two-columns, fixed-layout, threaded-comments, translation-ready, microformats,  editor-style, custom-menu
    */
    /*
    WARNING! DO NOT EDIT THIS FILE!
    
    To make it easy to update your theme, you should not edit the styles in this file. Instead use
    the custom.css file to add your styles. You can copy a style from this file and paste it in
    custom.css and it will override the style in this file. You have been warned! :)
    */

    5.Now in sidebar.php delete all the code and save it as empty.
    6.Now activate this child theme that’s all.
    7.Report if any problem faced during this process.

    Thanks and CHEERS!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleting a sidebar menu’ is closed to new replies.