Support » Theme: PageLines » Remove search bar from Nav Classic

  • Hi!

    How can I remove the search bar from my classic navigatione (“Nav Classic”)?

    Best regards
    Sun

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Sun

    If you go to wp admin area, Pagelines>site options>header and footer there’s an option to remove the search field from the Nav.

    Imam

    (@imamherlambang)

    Hi,

    I don’t see option for hide the search field for classic nav in that page.

    There’s only 3 option there for classic nav :

    1. Enable Drop Down Navigation?
    2. Enable Shadow on Drop Down Menu?
    3. Enable Arrows on Drop Down Menu?

    which part should I change to hide the search field?

    Thank You

    In Pagelines lite, go to admin>appearance>editor and open the searchform.php file.

    Change this line:
    pagelines_search_form( true );

    To this:
    pagelines_search_form( false );

    Keep in mind that any theme updates will overwrite this change and it will need to be applied again.

    -nathan

    If you prefer, you can go to pagelines>site options> custom code and add this to the CSS/LESS Rules:

    #header .searchform {
    display:none;
    }

    Going this route, your changes should be retained over theme updates.

    -nathan

    I was also trying to remove the search form from my header and the last text that Nathan gave worked in my style.css. I know that theme updates will probably wipe this out but it didn’t work in the custom code section.

    Now I want my navigation links to go across the whole page instead of wrapping around where the search form was. Can you help me with that?

    Thanks much!
    My site is http://www.caraklee.com if that helps.

    Cara

    I am also looking for a solution to extend the nav bar classic instead of having it wrapped around due to previous the search form. Are there any solutions for that?

    Thanks in advance
    Jette

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove search bar from Nav Classic’ is closed to new replies.