Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Displaying issue using result shortcode
This topic contains 2 replies, has 2 voices, and was last updated by anna1918 5 years, 10 months ago.
- AuthorPosts
- January 26, 2018 at 12:09 pm #16489
Hi there, I’ve got some displaying issues at the search result Area. The height of each result Item is very stretched and doesn’t look how it’s displayed inside the plugin’s preview tab. Is there any way to solve that quickly?
Thanks in advance.January 26, 2018 at 2:37 pm #16491Hi,
There are likely 2 causes here.
One is, because the vertical result item height was set to 10%. It means that it will adopt to the parent document height. I have changed that back to ‘auto’, as per the default value: https://i.imgur.com/dn2mhDm.png
However I was not able to test it, as I can’t clear the site cache on the front-end. It still shows the previously cached asset content.Another, more serious issue is, that the results container is wrapped within a
<pre>
HTML element. That can completely mess up the styling, so I the shortcode should not be wrapped by that: https://i.imgur.com/B6V8PzG.png
Best,
If you use a visual editor of some sort, try a different block there, maybe a HTML instead of a Text block. Text blocks tend to use the ‘pre’ tag for preformatting.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 29, 2018 at 1:38 pm #16510Alright thanks a lot. Now it works perfectly.
- AuthorPosts
You must be logged in to reply to this topic.