Skip Navigation

[Resolved] Closing div tag removed on page reload

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

Last updated by Waqar 4 years, 7 months ago.

Assisted by: Waqar.

Author
Posts
#1643525
2020-05-29 12_06_40-Window.png
2020-05-29 12_06_29-Window.png
b.png
a.png

I am trying to: Have a search form on the front page as well as the search page

Link to a page where the issue can be seen: hidden link

I expected to see: The search results displayed next to the right hand column.

Instead, I got: The column shunted below the results.

I found this happening when using the search page on the front page and viewing results on the search page. I thought it was an issue with the redirect, but then I turned off ajax results and saw the same issue when using the search normally.

I did a bit of investigating using the compare plugin for notepad++ and it seems there are some missing div tags induced/missing when a full row of search results isn't returned. I compared the resulting html from 2 results with the default page load with 3 results using the most basic loop and result layout and after stripping out the extra result I could see that the side column bleeds into the search results container.

---------
All results displays fine ------- hidden link
incomplete row breaks layout ------ hidden link
---------------------

#1645863

Hi Matthew,

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

I've checked your view "Search page" and noticed that a closing div tag was missing, for the case of last padded item.
( screenshot: hidden link )

Adding that missing tag, fixed te issue.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar