Site logo

Archived topic

Widget search in Generatepress

15 replies · Started by Jose Antonio on January 3, 2017

Viewing posts 1–15 of 16

Hi!

I put a search widget in the sidebar of my Generatepress theme and I see that shows results that I don't want to appear (like testimonial texts, comments, etc.). How Can I establish that in the search results only appears some pages that I choose and all posts of the blog?

Thank you! Regards!

Great! Is just that I was looking for! :D Thank you!

Only one question more, Can I include only 3 o 4 pages (and not all) with this plugin?

Thank you Tom! :)

Hmm I'm not sure - might be worth asking the developer, if it's not directly possible they might have an idea how to achieve it with the plugin.

Hello,

I use "Autocomplete For Relevanssi" for the widget "search" in the sidebar or in the footer no problem but on the header don't work, what's th problem ?

Thx

Hi there,

What doesn't work in the header? Like it doesn't display?
Are you able to provide a link to your site?

Try this CSS:

.secondary-navigation .awesomplete ul {
    font-size: inherit;
}

.secondary-navigation .awesomplete li {
    float: none;
}

Great thank you Tom, and if i want display the search field in the header what is the css code ?

I try a lot of thing but don't work.

If it's a widget you should just be able to add it to the Header widget area with no issues?

i try with .inside-header, .widget-header, .site-header and other but no work

I'm not sure what you mean? How are you adding the search bar to the header?

Try this:

.header-widget {
    overflow: visible;
}

you are the best ;)

This archived topic is closed to new replies.