Search Results for 'horizontal'

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

Viewing 10 results – 311 through 320 (of 386 total)
  • Author
    Search Results
  • #45840

    Trevor
    Participant

    OK, my guess is that using the Shortcode Display method is the route to go.

    First, the search form. The standard S&F Pro search form is vertical, but can be made horizontal quite easily using custom css. Search this forum with the keyword horizontal and you will find posts about this.

    The shortcode method is documented here:

    http://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/

    Assuming that you able to make a WP Page in your theme, are you able to add the form shortcode to get the form to appear when you browse to that page? (you may have the ability to place the form using the WP Widgets feature, depending on hoe the theme is made (it is not one that am familiar with).

    #45562

    Trevor
    Participant

    You can alter widths to percentages (of the outside container), and you can use CSS media queries to target certain devices. I do not know what break points your theme uses, but I would be inclined to make the form vertical at 767px and under. So, the custom CSS you have to make it horizontal, put that inside a media query like this:

    @media only screen and (min-width: 768px) {
    // your horizontal CSS code here
    }

    You will probably need to set the li elements to width: auto and the widths of the elements themselves as I said to percentages or pixel widths.

    #44702

    Trevor
    Participant
    #44500

    Trevor
    Participant
    #44492

    Anonymous
    Inactive

    Hi, The search is all vertical.
    How can i place horizontal and responsive?

    Best regards

    #44319

    In reply to: Configure not showing


    Trevor
    Participant

    Before I answer, could you say what level of skills you have with HTML/CSS and PHP?

    I ask this because option 1 is the most flexible but if you wish to style the results, requires some work from you. The results simply use our own template which is fairly simply to modify.

    On the other hand, option 2 is the simplest, but you have to find the most appropriate template php file from the theme for this method. Some themes, like Avada, make this hard because they do not follow WordPress ‘rules’ on how to structure these templates. Whilst we DID do a lot of work to figure how to get Avada working, it WAS a lot of unpaid work, and at this point of time neither Ross nor I have the time available to to undertake that type of work. I cannot know what your theme looks like without you sending admin logins to me (using private reply). So, in summary, either option 2 works as soon as you figure the correct template to use (usually the blog template) or it can be the hardest.

    Making the results appear horizontal integration, perhaps you could show me what you mean? Most people ask for the search form to be horizontal, not the results, which I cannot envision?

    #44308

    Anonymous
    Inactive

    Many thanks for the great plugin!
    I have a few questions regarding the set up of the result displaying mode.
    I have tried all displaying methods, but I’m still not satisfied in the way the results are showing up.
    The page where I’m testing the plugin is this: http://www.thoughtmechanics.co.uk/
    My template is Striking.

    1. If I select the Result Display mode “Use shortcode”, and define the results page and put the two shortcodes in this page, the search bar perfectly shows up on the results page, but I don’t like the way the results are showing up and don’t know how to influence the design. ( I tried to set the results page to portfolio layout, but nothing happens). Is there any possibility to influence the design in this Display mode?

    2. I’ve read in the documentation that the design of the result’s page can be influenced by using the “As an archive” method and select the option “use own template” and paste the xxxx.php name of the template of my theme, I want to use to display the results. I tried this method, but I can’t achieve to influence the design. I’ve read that using Avada template, a change in the code has to be made. I’ve searched for this part you were mentioning but couldn’t find it in the code. Could you tell me where exactly I have to look for it?

    3. I would like the search results to be like on your horizontal integration.

    Thanks in advance!

    Best wishes,
    Tony


    Trevor
    Participant

    Anonymous
    Inactive

    Hello!

    My website is http://www.ymphony.com.

    Notice the filter and search area near the top of the homepage. The “Filters and Search Post” label, filters, search box, and Submit components are “stacked on top of one another”….in other words, all components are vertical.

    However, I would like all those components to be horizontal…all in one line so that I can save space on the homepage.

    So, I would like it to looks like this:

    Filter and Search Posts <Dropdown box> <Dropdown box> <Search box> < Submit button)

    Any advice? Thank you.

    #43914

    Anonymous
    Inactive

    Ok this is the final result with consistency:

    .searchandfilter[data-sf-form-id="2545"] > ul > li {
    	display:inline-block !important;
    }
    
    .searchandfilter[data-sf-form-id="2545"] li.sf-field-search {
      width: 40%;
      padding-right:10px !important;
    }
    
    .searchandfilter[data-sf-form-id="2545"] li.sf-field-tag {
      width: 40%;
      padding-right:10px !important;
    }
    
    /* format tag fields for consistency */
    .searchandfilter[data-sf-form-id="2545"] .chosen-container-multi .chosen-choices {
        display: inline-block;
        height: 2.65em !important;
        margin-bottom: 0px;
        border: 1px solid #ddd;
        padding: 0 0.65em;
        font-size: 13px;
        line-height: normal;
        color: #555;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    } 
    
    .searchandfilter[data-sf-form-id="2545"] .chosen-container.chosen-container-multi {
        width: 100% !important;
          margin-top: -5px !important;
    }
    
    .searchandfilter[data-sf-form-id="2545"] input.default {
    border-color: rgba(0,0,0,0.3);
        outline: 0;
        outline: thin dotted \9;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(0,0,0,0.2);
      -webkit-transition: border linear 0.2s,box-shadow linear 0.2s;
        transition: border linear 0.2s,box-shadow linear 0.2s;
    }
    
    .searchandfilter[data-sf-form-id="2545"] li.sf-field-category {
        width: 20% !important;
    }
    
    .searchandfilter[data-sf-form-id="2545"] select.sf-input-select {
        width: 100%;
    }

    Hope can help a lot of people that are trying to have an horizontal view for S&F.

    Now I just need to edit the @media CSS for smartphones and tablets.

Viewing 10 results – 311 through 320 (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.