Jump to content


Photo

Removing search box in pagelines platform & excess space under header


  • Please log in to reply
4 replies to this topic

#1 cathbe

cathbe

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 July 2012 - 04:24 AM

Hi. I'm working on creating a site with Pagelines Platform. Trying to get rid of the search box to the right of the nav menu under header. I found this previous discussion (copied and pasted at end)- but to do this I need to go into the code on the back end of the site? is that correct vs. in wordpress?? also before I paste this, there's a large amount of space between the bottom of the header and the menu, I thought maybe removing the search box would help. Would anyone know why that might be there? thanks!! previous response -- catrinaCatrina July 2011 @catrina The code provided by Simon should be added to functions.php Catrina Dulay | Graphic Designer & Cat Lady http://catrinadulay.com Actually correct answer posted on one of his other posts: http://www.pagelines...rum/topic/11035 Simon Prosser - PageLines developer. ezekieldasezekieldas July 2011 Thanks @ezekieldas As I noted in the comment above, placing the code in functions.php does not work. The only working solution is this: section.nav.php: /* if(!pagelines_option('hidesearch')){ get_search_form(); } */ But this is kludgy for all of us. I would submit a feature request but I don't see a mechanism for doing that here. prossSimon July 2011 Thanks @pross Its a limitation of the free version, im sorry.

#2 cathbe

cathbe

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 July 2012 - 01:39 PM

Okay I went into section.nav.php and am happy to add the above code (anywhere...?) but what about this in the code there - couldn't (shouldn't) this be altered? ), 'hidesearch' => array( 'version' => 'pro', 'default' => false, 'type' => 'check', 'inputlabel' => 'Hide search field?', 'title' => 'Hide Search - Nav Section', 'shortexp' => 'Remove the search field from the nav section', 'exp' => 'Removes the search field from the PageLines Navigation Section.'

#3 Jenny

Jenny

    Owned by PageLines

  • Unicorn Store Dev

  • 2917 posts
  • LocationWV
  • Country: Country Flag

Posted 10 July 2012 - 03:46 PM

You cannot remove the search bar in the options of the free version. You will have to hide it with custom CSS. http://www.pagelines...wiki/Custom_CSS

#4 sciron

sciron

    Newbie

  • Members
  • Pip
  • 1 posts
  • Country: Country Flag

Posted 13 February 2013 - 03:52 PM

I'm looking for that answer. What is de Css code?



#5 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 13 February 2013 - 04:13 PM

You’ll need to use Custom CSS (in PageLines > Site Options > Custom Code > Custom CSS/LESS). To find the Custom CSS you need, you'll need to use Firebug (or Chrome Development tools). To learn how to use Firebug for CSS customizations, please review this entire documentation and follow the instructions: http://support.pagelines.me/docs/customization/custom-css