Search Results for 'horizontal'

Forums › Forums › Search › Search Results for 'horizontal'

Viewing 10 results – 61 through 70 (of 386 total)
  • Author
    Search Results
  • #248654

    Anonymous
    Inactive

    Hi, I would like my filters and checkboxes to be horizontal across the page.
    I have tried the following css:
    .searchandfilter > ul > li {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    }

    This moves the filters side by side however the checkboxes are still vertical.
    I would like the checkboxes to be horizontal (next to each other).
    This is my page:
    https://www.redelephantreps.com/hotels-portfolio-test/

    Also, the page ‘jumps’ slightly when using the filter. Is there a way to stop this?

    Many thanks
    Mary


    Anonymous
    Inactive

    I’ve set up a Case Study filter, as described in https://support.searchandfilter.com/forums/topic/speed-considerations-your-advice-please/

    See here: https://d.xmarksthespot.co.uk/treasure-hunt-case-studies/ for the page. There are 3 versions of the same filter as I’m experimenting with various placement options.

    My goal is to save screen space. On desktop/tablet the filter could go in a toggle (this isn’t ideal for the user but I’ve got it working) or (preferably) stay in the main body, but be horizontal instead of vertical. I’ve got the vertical version working.

    *Is there an easy way to get a horizontal version?* (I saw a previous thread in Support, but didn’t quite understand and some of the replies were private from recollection). I plan to use vertical layout in a sidebar on a Woocommerce filter – if that’s relevant.

    Another option is a sidebar for desktop/tablet – especially if/when filter choices expand. I’ve got this working too.

    My preferred option is an off-canvas sidebar across all devices. Is this something that can be done as of now?

    If not, I think I read in a Support thread that this may be considered in v3. Any firmer timescales yet?

    Looking forward to your reply.

    #246680

    Anonymous
    Inactive

    I know this question has been asked many times before. I’ve tried to implement the solutions I’ve found and have been unable to get it to work. I’m using a child theme of Astra with WP Bakery. Everything is at the latest version.

    On NovaScotiaFood.com I have a search form here. I want it to be horizontal.

    I can get it to work in Inspector simply by going to the first li element and changing display to inline-block. But it doesn’t work when I input the CSS via Customizer. I have also tried adding it to my stylesheet via FTP. I am using Siteground Optimizer caching and Cloudflare. The SG cache has been cleared repeatedly and Cloudflare has been put in development mode. I have tried a hard refresh of the browser numerous times too (I’m in Chrome).

    I’ve tried the following bits of CSS:

    #search-filter-form-2018 > ul > li {
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }
    .searchandfilter[data-sf-form-id="2018"] {
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }
    .searchfilter ul li	{
    	list-style: none!important;
    	display: inline-block!important;
    	padding: 0 20px;
    }

    None of these are working. Can you please help?


    Trevor
    Participant

    Ah, OK. I would normally say set some CSS classes on the elementor container where you can specify whether the form in the container is to be vertical or horizontal and then precede the CSS with one or the other.

    This was done in this thread also:

    https://support.searchandfilter.com/forums/topic/search-form-customize-styling-2/

    I will close this thread for now.


    Anonymous
    Inactive

    I have not been able to make 1 vertical and others horizontal. So I just decided to go with all vertical. This will be good for now.

    Thanks so much!


    Trevor
    Participant

    It is this CSS doing that:

    .searchandfilter[data-sf-form-id="2839"] .sf-field-submit::before {
        content: "";
        display: block;
        height: 43px;
        width: 25px;
    }
    .searchandfilter[data-sf-form-id="2839"] .sf-field-reset::before {
        content: "";
        display: block;
        height: 43px;
        width: 25px;
    }

    You need to make that CSS conditional so it applies only to the horizontal form. For example, you could add a class to the Element in the Elementor widget settings and precede it with that on the horizontal version, so it then will not apply to the vertical version.


    Anonymous
    Inactive

    Finally managed all 3 forms to work!!!

    One last thing. You mentioned you can make some of the vertical and others horizontal. I added the codes you gave me to make all of them horizontal. How can I make 1 of them vertical, on the page below?

    https://creatorscycle.com/artist_grant/

    Thank you.


    Anonymous
    Inactive

    Still waiting for it to be fixed!

    While waiting, I created 3 separate post types and newly assigned the posts archives to each of them. And it seems like it would work, ONLY IF THE SUBMIT BUTTON WORKS.

    The submit button is not working. It searches correctly only if I refresh the page.

    I also still would like 1 of them to be vertical. With the added codes you provided, all of them are horizontal now.

    Thanks.


    Anonymous
    Inactive

    I would like the search form on this page to be vertical because of the checkboxes.
    https://creatorscycle.com/category/artist-grants/

    These 2 search forms to be horizontal, aligned.
    https://creatorscycle.com/category/creators-life/
    https://creatorscycle.com/category/basic-life-for-creators/


    Anonymous
    Inactive

    Just adding another question. How can I align the boxes and buttons horizontally in CENTER, instead of top? Even for the search form without headline, the search box and the button is just tiny bit off.

    Thanks.

Viewing 10 results – 61 through 70 (of 386 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.