Skip Navigation

[Resolved] Styling Search Form

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by andrewF-6 6 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1120720

Tell us what you are trying to do?
I am trying to get the search form at hidden link to appear styled in a horizontal line.

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
Almost any search site but the homepage of hidden link has a nice example of a horizontal search with filter.

What is the link to your site?
hidden link

#1121328

Hi Andrew,

Thank you for contacting us and I'll be happy to assist.

I noticed that some custom CSS code exists on the website, which sets a fixed width for the form input fields:
( source: hidden link )


.form-control {
	width: 1000px !important;
}

To override this CSS code, you can add some additional custom CSS and the form will show inline:


.wpv-filter-form.js-wpv-filter-form-123-TCPID124 .form-control {
    width: auto !important;
}

Note: the above code can be added into the "CSS editor" section on the View's editor screen.
( ref: https://toolset.com/documentation/user-guides/adding-custom-css-views/ )

For further assistance with custom code, we recommend contacting one of Toolset certified consultants:
https://toolset.com/contractors/

I hope this helps! Please let us know if there's anything else we can help you with.

regards,
Waqar

#1121574

My issue is resolved now. Thank you!