Search bar on all pages

This topic contains 2 replies, has 2 voices, and was last updated by  Kor 7 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #244092

    Frank Ferris
    Buyer
    Post count: 76

    Hi support,

    We’d like the search bar to appear on all our pages below the page title. Like how it currently does on detail pages like this example.

    We tried to do it with shortcode on the page files here as an example but we want it to be full page width above the right sidebar.

    Is there an easy way to do this in CSS, PHP or other?

    Thanks!

    #244105

    Frank Ferris
    Buyer
    Post count: 76

    Can’t find a way to delete my post, but we resolved it.

    Here is what we did for anyone else who has the same question and finds this post (using Kleo theme, which allows us to have unique header code for each page, but has removed the GD header widget area).

    Added this to the header script wherever we wanted to add the search bar:

    
    
    <div style="margin-left: auto;margin-right: auto;width: 83%;">
    [do_widget id=geodir_advance_search-1]
    </div>
    #244252

    Kor
    Moderator
    Post count: 16516

    Hi Frank,

    Thanks for sharing. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket