Home / Forums / You Theme Support / Set Search results page to full width

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Barnaby Aldrick
    Barnaby Aldrick
    Participant

    Hey guys!

    I’ve set my blog page at http://www.barnabyaldrick.com/WP-BAWP/blog/ to be a full width blog template page, but when I select a category or search for anything, the search results page brings a ‘wide’ page not (full-width), like this: http://www.barnabyaldrick.com/WP-BAWP/category/wedding/

    Is there a way to customise the search results page? Is it done by editing the Search Results (search.php) file somehow?

    Cheers in advance! Barnaby

    Hi @barnabyaldrick

    Try to use this CSS:

    .search .content-wrap.row {
        max-width: 100%;
    }
    
    .category .content-wrap.row {
        max-width: 100%;
    }

    It should override the max-width set for those pages you mentioned.

    Regards,

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.