• Resolved Vad

    (@vadym1)


    Hi!
    widgets page-content
    vs
    widgets footer-active-sidebar

    
    /*404.php*/
    .error-404 .widget_recent_entries,
    .error-404 .widget_categories,
    .error-404 .widget_archive {
    display:none;
    }
    
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @vadym1

    Thanks for posting.

    Please, can you clarify your question?

    Thread Starter Vad

    (@vadym1)

    There is no need for widgets that are on the page.
    Because there are widgets in the footer.

    Sure, if you’d like to customise the 404 page you can do so from within a child theme or you can hide the 404 page widgets using CSS as you’ve indicated above.

    Thread Starter Vad

    (@vadym1)

    OK! Thank you!

    You can perhaps try using this rule rather:

    .error404 .page-content .widget {
    	display: none;
    }
    Thread Starter Vad

    (@vadym1)

    Thank you!

    I just thought that you forgot remove widgets from that page…

    No problem.

    This is a default 404 page, it offers users a way to view most recent posts, categories, archives and tags. That information is delivered using widgets. The 404 page, unfortunately, isn’t aware of the widgets you’ve used in the footer so if you have those same widgets in the footer then the duplication would look a bit funny. In that case you could hide the 404 page widgets with Custom CSS OR we could explain how to use a child theme to add a custom 404 page. There are also plugins that assist with creating a 404 page.

    All the best with your site ?? If any further questions come up, let us know.

    Cheers

    Thread Starter Vad

    (@vadym1)

    if you have those same widgets in the footer then the duplication would look a bit funny.

    Yes. If I did not check I would not know that there is such confusion. Other users probably also do not know about this.

    Sure. It’s a tough call between creating a helpful 404 page that offers the user options to go content or a relatively blank 404 page. Unfortunately, it’s not something we can easily change now without altering existing sites.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘404.php widget page-content’ is closed to new replies.