Site logo

Archived topic

Search listing problems

7 replies · Started by Hilton on August 3, 2022

Viewing posts 1–8 of 8

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!

Ah I see what you mean.

Try this CSS:

.search-results article {
    width: 100%;
}

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 :)

This archived topic is closed to new replies.