Search Page 1 Column - All others correct

Hi,

On my website search page (found in the secure note) all of the producs are listed in one colunn, I have a child theme but I’m not sure what I have to edit in order to correct this. Please could you help? All of he other category pages etc. are fine.

THanks
Chris

Hi Chris,

Unfortunately, your site is not even loading when I checked. Please check in with your hosting provider. It says server DNS address could not be found.

Hi Sorry the URL is in the secure comments - My fault

Hi There,

Please add the following CSS under Customizer > Custom > Global CSS:

@media (min-width: 980px){
    .search-results .x-container.offset-bottom > article {
        width: 30.66667%;
        float: left;
        overflow: hidden;
        position: relative;
        margin: 0 2% 55px 0;
        border: 0;
        padding: 0;
    }
    .search-results .entry-title {
        font-size: 24px;
    }
}

Thanks but css will only style the appearance. The search filters still won’t work. The current search url is www.mysite.com/?s=mysearch for it to work properly it should be www.mysite.com/shop/?s=mysearch. That will fix all the issues

Where can i change the search button or script to add the /shop/ to the form?

Thanks
Chris

Hi there,

Please kindly add the JS code below to X > Launch > Options > JS:

var theForm = jQuery('#searchform.form-search.center-text');
var theAction = theForm.attr('action');
theAction += 'shop/';
theForm.attr('action', theAction);

That will do the trick.

Perfect! that got it! Thanks

You’re welcome :slight_smile:

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