Using a manually saved template for posts and search result pages

Hi There,

I am trying to find out how to apply my template for the post and search-result pages. These pages are showing the original theme layout, and I would like to apply my template to it but could not find on the forum how to do that.

Just to be clear, I want the posts and search result pages to have similar layout as my home page (and other pages).

Could you please advise on how to do this?

Thanks.

Hi,

To achieve that, you can add the code below in Theme Options > CSS

.search-results .x-container.offset,
.single-post .x-container.offset {
    max-width: 100%;
    width: 100%;
}

.single-post .entry-footer,
.single-post .entry-wrap,
.search-results .entry-wrap {    
    max-width: 1200px;
    margin: 0 auto;
}

.search-results .entry-wrap,
.single-post .entry-wrap {
    box-shadow: none;
    background-color: #fff;
}

.x-colophon.bottom .x-social-global a,
.x-colophon.bottom .x-nav li a {
    color: #fff;
}

For future reference on how to customize your site kindly refer to the link below


Just note that you only add custom css if there is no available option or settings in Theme Options

Thanks

I have made templates of my customisations, but I dont see a way to apply that for search page and the posts. The code you mentioned just changes the backgrounds, I want to apply the layout I have created. I just need a way to apply my template to these two pages!

Hi There,

Thanks for the asking again!

This is something need custom development which is out of our theme support scope. We would encourage you to please take help from a developer to do this.

Thanks for understanding!

1 Like

Hey There,

Did you added something in the secure note? You may have removed it back accidentally.

Please be advised that the search and search results page cannot be edited using Cornerstone. This pages used the same index.hp in display the page along with the search results. The layout will be the same layout whichever you have set in the global settings, X > Theme Options > Layout & Design > Content Layout. If your homepage is fullwidth, you should select “Fullwidth” too in the global settings.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.