Search template different than main template

This topic has 22 replies, 3 voices, and was last updated 5 years, 9 months ago ago by Olga Barlow

  • Avatar: asurelife
    asurelife
    Participant
    January 28, 2019 at 14:35

    We are having problems with the search and certain other pages templates not showing the same as the shop template. When using the search bar the template shown does not show correctly, shows random menu, no sidebar and smaller images

    21 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 28, 2019 at 14:53

    Hello,

    Please add this code in style.css file of your child theme:

    .page-template-search-results .sidebar {
        display:  none;
    }
    .page-template-search-results .content.span8 {
        width: 100%;
    }

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 28, 2019 at 15:08

    This doesn’t effect anything

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 28, 2019 at 15:46

    Have you cleared cache?

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 28, 2019 at 15:55

    yes

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 28, 2019 at 16:11

    Is the problem solved? If not, please provide a screenshot. You can use such screenshot maker as Lightshot https://prnt.sc/

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 28, 2019 at 16:49

    Correct view includes sidebar and full size image in 4 rows:

    https://www.21floors.co.uk/wp-content/uploads/2019/01/Screenshot-2019-01-28-at-15.44.22.png

    The pages (top selling, on sale, new in) – no sidebar, images in 4 rows squashed to the right

    https://www.21floors.co.uk/wp-content/uploads/2019/01/Screenshot-2019-01-28-at-15.44.36.png

    Site search is the same as above

    Avatar: asurelife
    asurelife
    Participant
    January 28, 2019 at 16:50

    Also, the menu changes for the search for some reason:

    https://www.21floors.co.uk/wp-content/uploads/2019/01/Screenshot-2019-01-28-at-15.48.00.png

    (the yellow borders are not relevant)

    Avatar: asurelife
    asurelife
    Participant
    January 29, 2019 at 10:34

    Help

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 29, 2019 at 16:24

    Hello,

    You created page http://prntscr.com/mdt12b and set it as the search results page + chose the custom menu for this page + custom sidebar. If you don’t use search by post, pages etc http://prntscr.com/mdt29j there is no need to create Search results page. I have deleted it.

    Check now.

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 29, 2019 at 16:46

    Yes, i understand this, thank you .

    This has fixed the search but not the pages layout…
    i.e.
    new products – https://www.21floors.co.uk/new-products/
    top sellers – https://www.21floors.co.uk/top-sellers/
    on sale – https://www.21floors.co.uk/on-sale/

    I am still unable to have the 4 standard columns with left sidebar

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 30, 2019 at 09:09

    Hello,

    Default WooCommerce widgets work on default wc pages (shop, categories of products) only.

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 30, 2019 at 11:10

    How can I get the New Products, Top Sellers & On-Sale items showing so I can have a footer link to them

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 30, 2019 at 11:39

    You can disable sidebar on custom pages with products – https://prnt.sc/me6fza

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 30, 2019 at 12:07

    Its not the sidebar i am trying to disable – I am looking to have the shop page filter new products, top sellers or on sales items that can have a footer link

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 30, 2019 at 15:57

    Sorry, but your request is a bit unclear for me. Please describe the desired result in more details.
    Thanks in advance.

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 31, 2019 at 10:38

    We would like to have footer links to: –

    New Products
    Best Selling
    Sale items

    These are currently pages but as you have described woocommerce doesn’t recognise pages for the sidebar and shop formatting.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 31, 2019 at 10:48

    You can disable sidebar on these pages to get this result – https://prnt.sc/menl0h
    Is it what you are looking for http://prntscr.com/menn5w ?
    Our theme inherits the functionality of WooCommerce plugin, if you want to change things relates to WC, you can contact woocommerce support.
    Additional customization is not included in our basic support.

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 31, 2019 at 15:53

    I don’t want to disable the side bar – I want to keep it.

    I want a shop page layout for New Products, Best Selling and Sale items and be able to have a footer link to each page/filter

    This filter – http://prntscr.com/menn5w – is only good for each category and not ALL categories – there doesn’t seem to be a filter for Sale items

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 31, 2019 at 16:01

    Dear,

    There is no possibility to achieve the desired result using available settings, unfortunately. Likely you need to do some additional customization in files.
    Try to contact WooCommerce support maybe they will be able to point you in the right direction.

    Regards

    Avatar: asurelife
    asurelife
    Participant
    January 31, 2019 at 18:42

    Ok many thanks for your support

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 31, 2019 at 19:10

    You are welcome!

    Regards

  • Viewing 22 results - 1 through 22 (of 22 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.