Skip Navigation

[Resolved] Move image behind search

This support ticket is created 4 years, 10 months 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 2 replies, has 2 voices.

Last updated by kjetilF 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1447563

Hi
Two things please:
1 - While adjusting the home page layout the search form has moved up above what was it's background image - leaving only the white text there. Could you help me get it back in place?
It happened when I went from one "Search - House" view also displaying results to splitting it into two instances, one showing the search form and one showing the results.
(Since they are displayed just above each other it is not important if there are one or two instances)

The page is based on the layout "Houses"
hidden link
while the background image is added via the Astra child theme's style.css using the class .hsearchbgimg - which in turn has been connected to the page's view "Search - House"(see Output editor)
hidden link
The image was in place behind both search form and white text until I tried to achieve 1)

2 - Is it possible to make no results show up first? The absolutely best would be if the results appear (preferably by ajax) only when someone clicks Søk (Search) - and then pushing everything below down.

If this is possible, you'll need the login credentials. I have provided them earlier here:
https://toolset.com/forums/topic/custom-field-doesnt-show-and-some-cf-styling/

Thanks,
Kjetil

PS Minesh has helped me on a similar (block based) home page (in the thread above) but do not know when it can be finished since several issues remain. Hopefully the effort to fix this existing home page is very limited

#1448357

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please check now: hidden link

I've edited the layout row where you added the custom search form:
=> https://toolset.com/documentation/user-guides/layouts/adding-custom-styling-to-a-layout/#row

And then added the class hsearchbgimg to the Tag classes field and now I can see the image background. Can you please confirm it works at your end?

Note: I've split the ticket for your 2nd issue.

#1448419

My issue is resolved now. Thank you!