Hi
Is there any way I can make an override of the errorpage?
I need to change the header looks: https://example.dk/werwerwer
Regards
Thomas
We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:
We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.
Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.
In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)
Hi
Is there any way I can make an override of the errorpage?
I need to change the header looks: https://example.dk/werwerwer
Regards
Thomas
Hi
This is already a custom error page. Please consult this page of 4SEO documentation to set up your custom error page content.
You have a number of options to customize the content, including a text editor. You can also select which menu item is used for displaying the page, so that you can assign specific modules or templates.
Best regards
Thanks!
But I use af Menu item for that page, but the layout isn't the same as on other pages on the site?
Regards
Thomas
Hi
But I use af Menu item for that page, but the layout isn't the same as on other pages on the site?
The layout is decided by the menu item you are using. Which menu item did you select in 4SEO Error page rule options? (menu item selection is described here in the documentation).
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Thanks Yannick
I have choosen a specifik article which is set to use the default look, but still no header that looks right.
Hi
I have choosen a specifik article
You mean: a specific menu item? articles have nothing to do with the display.
but still no header that looks right.
I suspect you want to the header (H1) to look like your template outputs it on your other pages, I think you may be able to achieve that by adding some CSS to your template custom css file, or equivalent.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
I do, yes!
Thought I would get that design when chosing Menu Item?
Hi
Thought I would get that design when chosing Menu Item?
Nope, that's just how your template output the title of a Joomla article. An error page is not an article so your template does not do that.
If you really want to have that design, you are likely going to need to write some custom CSS to apply the same styles as your template is using on articles.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Then I learned something new - thanks!
I think I can fix it with CSS ...
Hi
You're welcome! the error page source has ids and classes for most items so it should be easy to target them with CSS.
Best regards
Yannick Gaultier
weeblr.com / @weeblr