Change SVG image and CSS styles.
Why this should be fixed
To use the cassiopeia template in production, it is not possible to change the background color of the site. Since when you change the background to a different color from white, you can immediately see the SVG error of the image. Since SVG has a white background it is immediately visible. The problem is that you can't do fixed positioning with scrolling under the menu. Since the SVG background is white, scrolling under the fixed menu positioning shows SVG fill problems. When scrolling a page, the page text is hidden under a white straight SVG wave instead of hiding under a blue wave.
2. It is not possible to stretch the site to a width of 4000 px or more, the SVG wave becomes very large and covers the entire site header. But this should not be the case, the site should simply be positioned in the middle, even at a very wide resolution.without distortion.
How would you fix it
If you replace the template code in the browser with this code. 1. Make a site header with fixed positioning and scroll the site with the mouse, there will be no problems. 2. if you change the site background, the SVG image will also remain blue. 3.Having expanded the site to 4000 pixels or more, SVG will not distort and climb on the menu title, will not climb on breadcrumbs, will not climb on the title of the article.hat needs to be fixed
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-01-08 17:13:57 |
Closed_By | ⇒ | richard67 |
we used cassiopeia template on Joomla 4.
For the header logo as svg format, i added 20x " " in the Tageline, and it works
But this didn't work for my footer logo.
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
@AmyKrizanWang please do not update your comment. It is nothing to do with this issue. And it is a closed issue so no one will see it
Related issues: