Caption lost after Migration to J4

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sun Feb 02, 2014 2:29 pm

Caption lost after Migration to J4

Post by HDsports » Fri Dec 09, 2022 10:31 am

Hello :)

I have some CSS problems since the migration from J3 to J4.

In Joomla 3, I was always shown the caption under the images. This is very important especially because the copyright information for the images was made there. Since the migration to Joomla 4 these are missing and I have not yet managed to have them displayed again.

I had created the code in the template.css of my template (.img_caption). I continue to use the same template, the code is also present.

Now no caption is shown to me with the images.

Example (german language): Live-Link https://www.hdsports.at/laufkalender-international
(on mouseover you see the image-title, but i need them under the image)

Thank you and greetings :)

User avatar
ceford
Joomla! Ace
Joomla! Ace
Posts: 1496
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Caption lost after Migration to J4

Post by ceford » Fri Dec 09, 2022 1:15 pm

You have large numbers of JavaScript errors - open your browser Developer Tools and investigate.

First one:
GET https://www.hdsports.at/templates/system/css/system.css
[HTTP/2 404 Not Found 51ms]

HDsports
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sun Feb 02, 2014 2:29 pm

Re: Caption lost after Migration to J4

Post by HDsports » Fri Dec 09, 2022 10:37 pm

the first one i found also in the joomlart forum
https://www.joomlart.com/forums/d/39766 ... eader-phpp
but i have no subscription, to see the answers. but i doenst make a difference, when i delete
$this->addStyleSheet(JURI::base(true) . '/templates/system/css/system.css');
from the head.php file. There is no caption.

The other javascript errors have nothing to do with the template.


Post Reply

Return to “Templates for Joomla! 4.x”