Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #831941

    Hi Guys,
    Just updated to 4.1.2 – All seems good. Only one thing I’m having trouble with.
    When I search something that’s not on the website it says nothing found, like it should BUT, I would like to turn off it suggesting I look in
    PAGES, CATEGORIES and ARCHIVES.
    Cheers – Hope you can help!

    #832700

    Hey Shane,

    Try to update the permalinks at Dashboard > Settings > Permalinks.

    Best regards,
    John Torvik

    #833133

    Hi John,
    Probably didn’t explain it very well. I mean the error page (when nothing found) has a section on the right hand side under a heading of PAGES. It lists all the pages on the website and this is what I do not want. I think it may be changing the code on the 404 error page in the theme editor?

    Cheers,
    Shane

    #833382

    Hi Shane,

    Thanks for the clarification, please try the following in Quick CSS under Enfold->General Styling:

    .search-no-results .sidebar {
      display:none !important;
    }

    Best regards,
    Rikard

    #833730

    Hi Rikard, That worked a treat. Thank you.

    One more thing that I think is related.
    If I go to a page that does not exist, I get a 404 error page that still has the unwanted sidebar styling.
    Is there some CSS to remove the PAGE ref as well.

    Cheers!

    #834188

    Hi,

    Please try this instead of what I previously sent:

    .search-no-results .sidebar, .error404 .sidebar {
      display:none !important;
    }

    Best regards,
    Rikard

    #835204

    Hi Rikard, Just perfect – Many Thanks!

    #837309

    Hi,

    You are welcome :)

    Best regards,
    John Torvik

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.