Archived topic
Search listing problems
7 replies · Started by Hilton on August 3, 2022
Hi,
I have an archive page that uses a particular "Content template" setting by Generateblocks. This is the page https://bit.ly/31mL9JQ .
It happens that when displaying this page in the site's search, it is out of the standard layout, as you can see here https://bit.ly/3OQRSOM .
I've already tried using a content template exclusion rule for search results, but it didn't work.
Do you know what can be done to fix this?
Thanks
Hi Hilton,
What do you mean by it is out of the standard layout?
I checked the search result page, it's not using the content template.
What are you trying to achieve?
Let me know!
Hi,
The post on the left is part of the /video custom page. They shouldn't be side by side, but one under the other, like the others.
Please check the screenshot
https://www.dropbox.com/s/zkvviap6p0bc1jv/Captura%20de%20Tela%202022-08-03%20%C3%A0s%2015.26.42.png?dl=0
Ah I see what you mean.
Try this CSS:
.search-results article {
width: 100%;
}
Hi Ying,
It was a very smart solution ;)
Apparently both are inside the same div, maybe that's why the space between them is not the same as in the other items.
https://www.dropbox.com/s/hpdrkqqqb4glkao/Captura%20de%20Tela%202022-08-03%20%C3%A0s%2017.16.37.png?dl=0
Is there any way to fix this?
Thanks
Let's try this CSS instead:
.search-results article {
width: 100%;
float: none;
margin: 0 0 2em;
}
Hi Ying,
Fantastic!
Thanks ;)
Great! You are welcome :)