Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #559045

    How can I customize 404 page?
    > I know I could find its php in includes folder, but I don’t know how to change its contents, like the text and more importantly deleting all the widgets at the end of the page.
    > Plus, the style of menu is different from my website main menu style. How to make it look like the rest pages menu?

    Thanks in advance

    #559450

    Hi Sadegh!

    Please provide the URL or screenshot for the website with the issue. So we can take a look at it and help you resolve this issue.

    Best regards,
    Vinay

    #559527

    Hi Vinay,
    Domain: http://www.i-signage.ir

    As I said before, in 404 page, you might see the style of menu is different from my website main style. How to make it looks like the rest pages menu?
    Plus, I want to remove the widgets at the end of the page and edit some texts.

    Thanks

    #560007

    Hi!

    At the moment you cannot edit the 404 page from the backend. If you would like to edit the content or the page elements please go to Enfold/includes and edit error404.php file.

    Or

    We do not support this but incase you might find it helpful please feel free to use a plugin like 404 simple redirect.

    Best regards,
    Vinay

    #560010

    Hi,

    And despite that all, how may I change the 404 page menu style to my main menu?

    #560444

    Hi!

    To add page specific menu you can use a plugin like https://wordpress.org/plugins/page-specific-menu-items/

    Best regards,
    Vinay

    #560458

    Hi,
    Thanks Vinay for the suggested plugin.
    It there any way I could fixed the style directly from the php file? I don’t want to activate too many plugins on my website (Link).

    • This reply was modified 8 years, 10 months ago by Sadegh.
    #560509

    Hey!

    Please go to Enfold theme options > Advanced Styling and edit “Main menu links”

    Best regards,
    Yigit

    #560533

    Hi Yigit,
    I think I couldn’t specify my problem right.
    Please see the below images:

    >> This one is the normal (main) style of my website pages:
    normal style

    >> And this on is the 404 error page style:

    View post on imgur.com

    I am trying to change 404 page style to the main style.
    Any chance to change it easily?

    #560538

    Hey!

    No, it is clear but you are using transparent header on your main pages. You could change header styling in Enfold theme option to match similar styling.

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_404())
        {
        $logo = "http://i-signage.ir/wp-content/uploads/2015/12/i-signage-logo-white.png";
        }
        return $logo;
    }

    and add following code to Quick CSS

    .error404 #header_main * {
        color: white;
    }
    .error404 #header_main {
        background-color: #307ecc!important;
    }

    Best regards,
    Yigit

    #560548

    Thanks Yigit :)

    #560552

    Hi!

    You are welcome! Let us know if you have any other questions or issues :)

    Cheers!
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘404 page customization’ is closed to new replies.