Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Place ul's side-by-side for searches with multiple fields

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Ross Walsh
    #67194

    Hello.

    How can I place the the fields side by side when I have multiple fields?

    • A
    • B
    • C
    • D

    Field 1 Field 2
    A C
    B D

    Thanks!

    Trevor Moderator
    #67205

    Using custom css, targeting the selectors for the elements you want to do this to, and using display: inline; and left or right margins to space them. If I could see the actual form (live) then I could advise better.

    Ross Walsh
    #67710

    I’ve tried playing around with the CSS selectors but I cannot get the uls to line up in columns without all the lis displaying inline. If you could let me know the relevant CSS selector for what I want to do it would be much appreciated. Thanks! Example below:

    http://www.furthereast.com/uncategorized/sf-test/

    Trevor Moderator
    #67737

    Hi, Are you able to take a screenshot and then using something like photoshop to make it look as you want and let me have sight of that?

    Ross Walsh
    #67743

    Sure. The link now includes a (crude) screenshot below.

    http://www.furthereast.com/uncategorized/sf-test/

    Thanks.

    Trevor Moderator
    #68079

    Ah. OK, you need greater specificty in the selectors, like this:

    .searchandfilter > ul > li {
      display: inline-block !important;
    }

    The > means only direct parent to child and so stops ul’s and li’s further inside being affected.

    Ross Walsh
    #68112

    Perfect! Thank you once again for the prompt and helpful reply!

    Trevor Moderator
    #68114
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Place ul's side-by-side for searches with multiple fields’ is closed to new replies.