Forums › Forums › Search & Filter Pro › Error: There are 2 Search Forms set to use Post Type Archive display mode for th
- This topic has 24 replies, 2 voices, and was last updated 5 years, 10 months ago by
Trevor.
-
Anonymous(Private) May 27, 2020 at 7:48 pm #246177
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.
Trevor(Private) May 28, 2020 at 11:07 am #246265It 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.
Trevor(Private) May 29, 2020 at 12:21 pm #246493Ah, 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.
-
AuthorPosts