How to De-Activate Mobile Menu?

Discussion in 'ColorWay WordPress Theme' started by chauncey99, Feb 3, 2014.

  1. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    Hello, I would like to de-activate the mobile menu on Colorway Pro for testing purposes.

    Do I simply remove these sections of code from the header.php file?

    Code:
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    Code:
    <!--Start MenuBar-->
                    <div class="menu-bar"> 
                        <div id="MainNav">
                            <a href="#" class="mobile_nav closed">Pages Navigation Menu<span></span></a>                     
                            <?php inkthemes_nav(); ?>                       
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <!--End MenuBar-->
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Firstly install & activate wp-editor plugin in your dashboard.
    Download it from the link given below and install & activate it from the Plugins panel (Plugins ->Add New ->Upload) in your Dashboard.
    http://wordpress.org/plugins/wp-editor/
    And then go to the header.php file (Appearance > Theme Editor > header.php ) from your dashboard and remove only the code given below from from that file.
    Code:
    [FONT=Consolas]<a href="#" class="mobile_nav closed">Pages Navigation Menu<span></span></a>[/FONT][FONT=Consolas]   [/FONT]
     
    And then go to the media.css file (Appearance > Theme Editor > Css Directory > media.css) from your dashboard and remove the code given below from the line number 71 in that file.
    Code:
    ul.ddsmoothmenu{ display: none; } 
    And then go to the style.php file (Appearance > Theme Editor > header.php ) from your dashboard and remove the code given below from the line number 1891 in that file.

    Code:
     ul.ddsmoothmenu {
            display: none;
        } 
    This will remove the mobile menu.
     
  3. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    Hello, thank you for your help.

    Is this a mistake? I don't see any style.php file:

    Do you mean style.css file? It says at the top of this file "DO NOT EDIT THIS FILE" Are you sure it's OK to remove that line of code?
     
  4. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    Here is the code you are asking me to remove:

    Code:
    ul.ddsmoothmenu {
            display: none;
        } 
     
  5. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Yes remove this code from style.css file.

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page