Remove default "error 404" text

Home Forums Ample Free Remove default "error 404" text

Tagged: , , ,

This topic contains 5 replies, has 2 voices, and was last updated by  Bipin Singh 3 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1192438

    shibs196
    Participant

    Hi,

    I know this is usually coded within the php template of the theme. Is there any way to add a css rule to not show this default text when an error page occurs? Or should I make a copy of the php template and customize it right in the editor?

    Thanks a lot in advance!

    #1192508

    Bipin Singh
    Moderator

    Hi,

    If you wish to hide Default text than try the following code, paste it in Cutom CSS Box in Appearance-> Theme Options-> Design Tab:

    .error404 .page-title {
      display: none;
    }

    Above code will hide: “Oops! That page can’t be found.”
    The other Text and sidebar will be replace by the widget used in “Error 404 Page Sidebar” in Appearance-> widgets.
    But if you also want to hide it than let us know we will provide CSS for that too.

    Hope this helps.
    We will really appreciate if you help us too by rating our theme in WordPress repo here: https://wordpress.org/support/view/theme-reviews/ample

    Thank you.
    Have a nice day.

    #1192509

    shibs196
    Participant

    Hi Bipin, and thank you for the help.

    It worked with hiding the text, but the title “Page NOT found” is still there.

    I’ve been looking for a way to remove the title in one other page, too, but can’t seem to get it to work without resulting in a change in the navigation menu.

    So, to get to the point, is there a way to:
    1) change the title of an individual page to another custom title (without changing the text in the navigation menu, if it’s a menu page)?
    2) to remove it completely? (as in the 404 page – or in any page where the title is too long to fit in the title-header?

    I’m ActivePen in WordPress and I’ve already given my 5 stars.
    And thanks a lot for the help once again. πŸ™‚

    #1192529

    Bipin Singh
    Moderator

    Hi,

    It can not be changed with custom title.
    Use the following code to hide the Header title bar:

    .header-post-title-container {
      display: none;
    }

    It will hide Header title bar from every page, but if you want to hide it from the specific page than mention which page it is and we will provide you Custom CSS.

    Thanks for your rating.

    Regards,
    ThemeGrill Team.

    #1192537

    shibs196
    Participant

    It worked beautifully. Thank you very much Bipin.

    Have a great week ahead!

    #1192559

    Bipin Singh
    Moderator

    That’s great.
    πŸ™‚

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

You must be logged in to reply to this topic.