SVG logo should be displayed
SVG logo is not displayed
Path is correct, if template.css will be disabled, the logo is displayed
Joomla 4.2.6
PHP 8.1
Labels |
Added:
No Code Attached Yet
|
img {
width: 100%;
}
or to be more specific
.brand-logo img {
width: 100%;
}
deleted
not rocket science for someone who has developed as many extensions as you.
Is this needed?
not rocket science for someone who has developed as many extensions as you.
This is a problem report
No comments on repeated personal attacks on users who report some issue. It's a recurring theme that has contributed to the decline in Joomla's popularity, but someone else has to deal with that.
- it might be a Cassiopeia template issue - then it might be valuable information for the Cassiopeia template development team
You already identified it is an issue in the template with your test removing the css
- also it could be a problem with saving parameters for images path - this could be valuable information for core developers
Again you identified it as an issue with the template by temoving the css
No comments on repeated personal attacks on users who report some issue. It's a recurring theme that has contributed to the decline in Joomla's popularity, but someone else has to deal with that.
apologies for letting my frustration get the better
You already identified it is an issue in the template with your test removing the css
Yes, but I can't say it's 100% a CSS problem, because that CSS can be built on an HTML parameter that can be wrong.
So, there can be two problems
a) in template.css
b) but even in HTML which doesn't deliver what template.css expects
Labels |
Added:
?
|
in css file
img {
width: 100%;
}
.brand-logo img {
width: 100%;
}
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-01-08 17:14:19 |
Closed_By | ⇒ | richard67 |
Steps to reproduce the issue
- Go to Site Template Styles - edit Cassiopeia - set SVG logo/image:
- Save
Expected result
SVG logo should be displayed
Actual result
SVG logo is not displayed
Path is correct, if template.css will be disabled, the logo is displayed
System information (as much as possible)
Joomla 4.2.6 PHP 8.1
Additional comments
Hi there,
Does anyone have a good solution on how to fix the SVG file not displaying yet? need some help here, please.
Running the J4.3.0 version with the Cassiopeia template, the header and footer logo will not display svg logo.
For the header logo, if I add a "Tagline" description for the SVG file, then the logo will be displayed alone with the Tagline content.
Content > Media > Options >Media added "Allowed Exentions" == svg,SVG
Legal image Extentions (File Types) == svg
Legal MIME Types == image/svg+xml,application/svg+xml
rebooted the apache server, no luck!
Thank you ;-)
unable to replicate this - sorry
For Header logo fixer:
How to get Joomla4 with Cassiopeia Template to work
J4 dashboard > Content > Media > Create a new Folder "svgs"
ftp upload your svg logo file to this folder
/var/www/html/images/svgs/upload the logo
Topright "Options" in the Media
Allowed Extensions > add > "svg,SVG"
Legal Image Extensions (File Types) > add > "svg"
Legal MIME Types > add > ",image/svg+xml,application/svg+xml"
SAVE
J4 dashboard > System > Templates > Site Template Styles > Cassiopeia - Default >
/images/svgs/header-logo.svg
Tagline (this is a must-step):
i have added 20x The   entity " "
SAVE
I will update once i have a fixer for the Footer svg file ;-)
@AmyKrizanWang as stated before. I can not replicate this issue. It works perfectly for me without doing anything with the tagline
should be closed as a duplicate of #39543
really no point in creating multiple issues for the same problem