• Home
  • Get help
  • Ask a question
Last post 25 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70349
All time tickets 10858
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#10056 – Override Error-page

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 21 June 2023 05:41 UTC
Thrane

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

Thursday, 22 June 2023 07:34 UTC
wb_weeblr

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

 

 

 
Thursday, 22 June 2023 09:48 UTC
Thrane

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

Thursday, 22 June 2023 09:54 UTC
wb_weeblr

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

 

 
Friday, 23 June 2023 05:57 UTC
Thrane

Thanks Yannick
I have choosen a specifik article which is set to use the default look, but still no header that looks right.

 

Friday, 23 June 2023 08:51 UTC
wb_weeblr

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

 

 
Friday, 23 June 2023 09:29 UTC
Thrane

I do, yes!
Thought I would get that design when chosing Menu Item?

Friday, 23 June 2023 09:46 UTC
wb_weeblr

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

 

 
Friday, 23 June 2023 10:01 UTC
Thrane

Then I learned something new - thanks!

I think I can fix it with CSS ...

Friday, 23 June 2023 12:27 UTC
wb_weeblr

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

 

 
Monday, 24 July 2023 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.