No Code Attached Yet
avatar prajwalah28
prajwalah28
8 Jan 2023

WWhat needs to be fixed

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

And add css style .site-grid .container-header{margrin-bottom: 40px;} Of course, you need to transfer the styles specified in the tags to CSS. In General, the SVG problem is solved here. Or move the SVG to a separate file. or fix the SVG in the index.php, but can't leave it as before.

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

Why this should be fixed

How would you fix it

Side Effects expected

avatar prajwalah28 prajwalah28 - open - 8 Jan 2023
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jan 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Jan 2023
avatar ReLater
ReLater - comment - 8 Jan 2023

Related issues:

avatar richard67 richard67 - close - 8 Jan 2023
avatar richard67
richard67 - comment - 8 Jan 2023

Closing as having a pull request. Please test #39574 . Thanks in advance.

avatar richard67 richard67 - change - 8 Jan 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-01-08 17:13:57
Closed_By richard67
avatar AmyKrizanWang
AmyKrizanWang - comment - 20 Apr 2023

we used cassiopeia template on Joomla 4.
For the header logo as svg format, i added 20x "&nbsp" in the Tageline, and it works

But this didn't work for my footer logo.

avatar AmyKrizanWang
AmyKrizanWang - comment - 20 Apr 2023

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 &nbsp entity "                                         "

SAVE

avatar brianteeman
brianteeman - comment - 20 Apr 2023

@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

Add a Comment

Login with GitHub to post a comment