Hi.
I'm experiencing an issue with the Fortune template when "Compile SCSS to CSS" is enabled.
Environment
Joomla: 5.4.6
PHP: 8.3.30
SP Page Builder: 6.6.2
Fortune Template: 2.0.3 (also happened with 2.0.0)
Problem
When Compile SCSS to CSS is enabled, the frontend crashes and displays the following SCSS parser error:
line 1, column 39: Expected digit.
scssphp-parse-value((#sp-header.header-sticky {
position: fixed;
top: 0px;
z-index: 9999;
background-color: rgba(0, 0, 0, 0.1);
box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}))
If I disable Compile SCSS to CSS, the website works normally.
I have already:
- Updated the Fortune template from 2.0.0 to 2.0.3.
- Cleared Joomla cache.
- Verified that my custom CSS does not contain any invalid syntax.
- Confirmed that the template folder is still /templates/fortune (only the Joomla template style has been renamed).
Is this a known issue with the SCSS compiler (scssphp), or is there another place where the compiler could be reading outdated SCSS code?
Any help would be greatly appreciated.
Thank you!