Skip Navigation

[Resolved] Templates for custom search: predefined fields CSS

This thread is resolved. Here is a description of the problem and solution.

Problem:
Templates for custom search: predefined fields CSS

Solution:
The issue was user did not enable the Bootstrap loading from Toolset.

You can find the proposed solution in this case with the following reply:
https://toolset.com/forums/topic/templates-for-custom-search-predefined-fields-css/#post-1147977

Relevant Documentation:

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 9 replies, has 2 voices.

Last updated by TobiasS8611 6 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1147811

Hello together,

are there any predefined templates for the custom search? I`m using the divi template and if I define a custom search, it looks like this: hidden link (i mean only the search fields and button)

How can I change them to a layout like the search in your real estate template?

And how can i show the search on the left side and not on the top?

Thanks in advance
Tobias

#1147848

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no predefined templates available for the search form. If you want to style your search form, you can still add your own HTML and CSS around the filter shortcodes to style the form as well as add your additional custom CSS and JS to filter sections CSS and JS box.

how can i show the search on the left side and not on the top?
==> You can display the custom search form as a widget. Please check following Doc for more info:
- https://toolset.com/documentation/user-guides/front-page-filters/#vfmh-display-the-filter-in-widget

If you want to copy the real estate search form you can use module manager plugin to install the search module. Please check the following link:
=> https://toolset.com/modules/house-search/

#1147962

Thanks Minesh,
i bought the interactive package and installed the module manager and the house-search plugin.
But why is it looking like this now? hidden link

What did i wrong?

#1147977

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please go to: Toolset => Settings => General Tab => Bootstrap Loading and enable the option "Toolset should load the Bootstrap 3.0"

Does that help?

#1147980

much better. Now it looks like this: wma.tobias-schmidt.me/daenemark/
How can i give the "Search Houses / Use filters" a background color like in the example?

#1147983

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - could you please share access details so I can check what CSS needs to be adjusted.

*** Please make a FULL BACKUP of your database and website.***
I have set the next reply to private which means only you and I have access to it.

#1147990

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I've added following CSS to your view's filter section's CSS box:

.filter-list .search-header {
    background-color:#db5800;
    padding: 15px;
    color: #fff;
    position: relative;
    text-align: center;
}

To style search filter you should target the element and add such custom CSS as required.

#1147993

Thanks Minesh, I think i will manage the rest.

#1147994

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to help. Feel free to resolve the ticket 🙂

#1147995

My issue is resolved now. Thank you!