Skip Navigation

[Resolved] archive page and styling custom search

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

Last updated by lisaM-7 3 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2208579

Hi toolset team

I am following the videos and designing the archive page for a directory site. I am stuck on a couple of things, I hope you can help:

1. I am following the ‘creating a custom search video’ and would like to make the container background image full width. The video mentions that for some themes this may need to be adjusted in the settings, but I can’t find where to do this – any ideas? I’m using Astra theme.

2. Is there a way to make a selection of (extra) search fields appear when the user selects ‘Additional search options’? I was trying to put the search fields in a conditional block but then got confused about how to set up the ‘Additional search options’ Yes/No radio buttons to trigger the conditional search fields appearing. Is there a way to do this?

3. I have set up a one-to-many relationship of providers-programs (post-to-post). In the programs archive pages, I would like ‘providers’ to be one of the search criteria available to users, and to search by provider name (which would be post title) to show the programs linked to the provider. In the search field options I chose ‘Post relationship or repeatable field groups owner’ then selected the only option ‘Posts (in provider link connections)’ but it doesn’t seem to be working – I don’t think I’ve set it up correctly. Do you have any suggestions? Or it might be that I don’t have enough data yet.

I hope this sort of makes sense. Happy to be referred to documentation/videos to follow.

Many thanks, Lisa

#2209791

Hi Lisa,

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

To guide you around these points, I'll need to see how this archive page is set up in the admin area.

Can you please share temporary admin login details, along with the link to that archive page?

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2211749

Thank you for sharing the admin access.

To make the container block with "Full width" alignment, extend to cover the full available screen width, you can include the following custom CSS code at WP Admin -> Appearance -> Customize -> Additional CSS:


.tb-container.alignfull {
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}

This way, this code will work across the website and not just for any particular archive or view.

Note: I've created separate tickets for each of your questions and will reply to them shortly.

#2212573

My issue is resolved now. Thank you!