Search results ignoring customisation

Hiya
The search results are ignoring my settings for masonery, 30 word excerpts

https://www.luxurymoon.co.uk/?s=sponge

What can I do to make this into a decent working search function please.

or - is it possible to use the Woo filters I have set up as the search function instead?
Can I make a page with just the filter widgets on and link to that as the search?

To clarify the question - can I replace the current x search with the more powerful woo commerce search I am using in the widgets?

Can the menu search show this type of result https://www.luxurymoon.co.uk/?s=sponge&post_type=product
Instead of this https://www.luxurymoon.co.uk/?s=sponge

Hi @lisacole1

You can add WooCommerce Search into the menu using a third party plugin like this one:

Knowing that I haven’t tested this plugin, it’s just a suggestion, you are free to check it or check other ones as well.

Regarding the layout issue, can you please confirm that you chose “Masonry” for Archives layout in the (Theme Options > Blog)?

Thanks.

thank you, that plugin does the job - would you be able to tell me how to get it to line up with the rest of the menu items though please?

and yes, I did have it set up to masonry

So I am a little worried that something is not working in the site

Hey @lisacole1,

I will show you how to align specific menu items in the Navbar but, please note that due to the design of the X Navbar, it’s not recommended to have a search box in there. It’s best that you use Pro for this as you might require additional custom layouts later on.

Here’s the CSS code that will more or less center the search box:

.menu-item-4830 a {
    padding-top: 25px !important;
}

To see how I came up with that code, please watch https://youtu.be/sDNWRexh5eI

The Search result excerpt gets it’s excerpt length from Theme Options > Blog. If that does not work for you, you most probably have customizations. Please contact your developer for this.

Masonry layout is also not a feature of the Search result page. The theme only outputs the Standard layout. It was made that way for a reason. We’re sorry for the confusion about this.

What I’d suggest for your project is, use Pro in combination with SearchWP and FacetWP plugins to power the search feature of your site. Those are third party plugins of course and you will need to contact the plugin authors for questions and it would be best that you consult with a web developer for implementation.

Thanks.

Thank you, I want to keep the site as simple as possible so the client can take it over so I’d rather stick to X.

The code you gave me makes no difference, sorry!

I have tried in Firefox and Chrome to replicate what you did in the video and although I can see where to change the 37px I cannot get that to change anywhere, not in preview, not when I add your code to the css. I have cleared the style cache.

Could I replace it with a picture and have a pop up search box or something? I appreciate your patience with me and thanks for the info on how you did the code, that is really helpful.

Hi there,

The code provided by @christian_y should work. However, when I check the codes that you currently added to the Global CSS, there seems to be some CSS error that is why some CSS codes you added do not work.

Kindly copy and paste all your codes here: http://csslint.net/ to check for CSS errors.

There is a built-in search feature for the navbar. You can enable this by going to X > Theme Options > Header > Navbar Search .

Hope this helps.

aha, it was an errant }!
thank you so much, I didn’t see it.

The built in feature for the search bar looks like poop, sorry! I tried all the workarounds I could find in the forum but it looked awful.
The woo search looks a lot better and gives the prices too.

I appreciate that a search bar in the header isn’t ideal. Can I make the Navbar search icon go to the woo search?

Hello @lisacole1,

Thanks for asking. :slight_smile:

Changes that you are looking for in search will require custom development which falls outside the scope of support we can offer. If you are not comfortable with programming, I suggest you to get in touch with a developer.

If you would like to learn development, please take a look at following resources.

https://codex.wordpress.org/WordPress_Lessons

Thanks for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.