Style code for horizontal layout not working

Forums › Forums › Search & Filter Pro › Style code for horizontal layout not working

Viewing 9 posts – 1 through 9 (of 9 total)
  • Anonymous
    #202490

    Hi Search Filter Team,

    I have read several posts related to this topic and used following code to make search form in horizontal style but it is not working, I added this code in custom css of my theme:

    .searchandfilter > ul > li {
    display: inline-block;
    margin-right: 20px;
    float: left;
    }
    .searchandfilter > ul > li:last-child {
    margin-right: 0;
    }
    .search-filter-results {clear: both;}

    I am using Nirvana child theme and wp bakery page builder.

    Kindly help me in this matter.

    Chetan

    Trevor
    #202491

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #202514
    This reply has been marked as private.
    Trevor
    #202527

    I have inspected the code for that page, and I do not see the necessary CSS in place. Do you have any caches that need clearing?

    Anonymous
    #202582
    This reply has been marked as private.
    Trevor
    #202588
    This reply has been marked as private.
    Anonymous
    #202590
    This reply has been marked as private.
    Trevor
    #202596

    I can see it in the Page Source code, in a super big chuck of minified CSS placed inline on the page, but the browser does not look to be processing the code towards the end of that block.

    Maybe you could try putting the code here:

    Go to Appearance > Customize > Additional CSS and add it there, or instead, install this plugin, which will give you the ability to add custom CSS and JavaScript, and load it as a file and not inline (much better):

    https://wordpress.org/plugins/custom-css-js/

    Anonymous
    #202598

    Thats great,

    Code added in Appearance > Customize > Additional CSS and it worked nicely.

    Thanks very much Trevor.

    Regards,

    Chetan

Viewing 9 posts – 1 through 9 (of 9 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.