Forum
- Home
- Forum
- Template Support
- Premium Joomla Templates
- Camera - SCSS Error after update to 2.9
Important - Hands Up!
- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.
* ADD PRODUCT NAME IN START OF SUBJET
Camera - SCSS Error after update to 2.9
- G
- gianpaolo64 New Member
- Topic Author 2 months 4 days ago #1
I have two web sites using Camera template since version 2.4 or 2.5, both uses Joomla 5.4.1
The first one built from quick start package has been updated from 2.8 to 2.9 without issues.
The other one updated from 2.8 to 2.9 without errors but then when I go to "Template Options" and I enable the option to compile scss to css it fails and this error is displayed:
Can't find stylesheet to import. , 7 | @import '../sppagebuilder/addons/ut_animated_number/assets/scss/utanimatednumber'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ' templates/ut_camera/scss/unitemplates/utaddons.scss 7:9 @import templates/ut_camera/scss/unitemplates/unitemplates.scss 13:9 @import master.scss 9:9 @import - 1:9 root stylesheet
I went back to 2.8, installed plg_utaddons_1.2.0.zip then tried again but without success.
I don't understand why it fails saying some file are missing. Looking at the template folders on both sites it seems they are the same and /public_html/templates/ut_camera/sppagebuilder/addons/ut_animated_number/assets/scss/utanimatednumber is missing on both sites.
I need to compile scss because I have some small changes to menu.scss and preset3.css
Normally I update files in the template zip then install the edited zip but now I also tried to install your original zip without success.
Now after switching several times from 2.8 and 2.9 menu and colors are ok, but anyway I would like toi be able to compile scss
Â
Please Log in or Create an account to join the conversation.
- G
- gianpaolo64 New Member
- Topic Author 2 months 4 days ago #2
- Both web sites have the same issue with scss compilation, for some reason the site cache made the first test work
public_html/templates/ut_camera/sppagebuilder/addons for version 2.8 contains:
ut_animated_number and other ut_.. folders
while the 2.9 version contains onlyÂ
button
button_group
feature
no ut_... folder
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 months 3 days ago #3
Since version 2.9.0, we have been migrating our template add-ons to our add-on plugin (UTAddons) for SP Page Builder, which was installed and activated when you installed version 2.9.0 of the template. For this reason, you will no longer see our add-ons within the template.
Regarding the error: We apologize. When migrating the template add-ons to the plugin, we forgot to remove the calls to the SCSS files used to generate the add-on styles. Therefore, the error occurs because the file no longer exists. We apologize and promise to release a new version with the fix within 24 hours.
PS: We generated the SCSS files with Helix 2.2.2 and did not encounter any errors, so we overlooked this.
We will fix it. Thank you for letting us know.
Regards
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 month 4 weeks ago #4
Regards
Please Log in or Create an account to join the conversation.
- G
- gianpaolo64 New Member
- Topic Author 1 month 4 weeks ago #5
Unfortunately there is a small issue with the menu. Here is a screen shot of the 2.8
Â
Here is the same with 3.0
Â
Missing things:
- Indentation of second-level menu items (submenus)
- Highlighting effect on mouseover of first-level items
- Also spacing and fonts seem to be different
the web site is gphotoshow.com
Now there is version 3.0, check the menu Support, it works fine. Then check Other, only some items are highlighted. Those items should have an indentation and highlight should be performed on all items.
All caches have been cleared
Let me know when you have checked the web site, while waiting for a fix I will go back to 2.8
Â
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 month 4 weeks ago #6
We've checked our development center, and the site using 2.0.8 doesn't have indentation on the mega menu's child elements, and the hover effect is only on elements that aren't headers.
We haven't updated the menu's CSS. If there are differences, it could be due to changes in the Helix plugin. If the points you're referring to were part of the previous version, we'll revert them.
The difference between your SUPPORT and OTHER menu elements is that `support` is a link, and `other` is a header.
Regards
Please Log in or Create an account to join the conversation.
- G
- gianpaolo64 New Member
- Topic Author 1 month 4 weeks ago #7
www.gphotoshow.com
There are a few changes made by me in menus.scss to remove uppercase and change size of the menu. Maybe also those changes in indentation and highlight were made by me but unfortunately I don't remember and since I haven't worked on CSS in several years, I'm having trouble understanding the changes I made to the file. Some of them were suggested by you initially.
Here are my changes in menus.scss.
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 month 4 weeks ago #8
1. Do not modify existing SCSS or CSS files. Instead, work with custom.scss or custom.css, which will be created in their respective folders if they don't already exist.
2. I'll assume you'll be working with templates/ut_camera/scss/custom.scss and paste the following code.
After that, you must compile the SCSS to CSS. The template will detect the existence of custom.scss and compile it, ensuring your customization is preserved in future updates.
The code I've provided should create the hover effect on header elements, remove bold and uppercase letters, and add indentation to the submenus of the mega menu.
Regards
Please Log in or Create an account to join the conversation.
- G
- gianpaolo64 New Member
- Topic Author 1 month 4 weeks ago #9
I installed 3.0 with original menus.scss
I was not sure if that code should be added in scss or css anyway first I tried I to add that code in templates/ut_camera/scss/custom.scss but it doesn't compile (I have no custom.scss I created one for that code)
Then I removed it and added your code to my templates/ut_camera/css/custom.css that already contains some code.
Unfortunately it doesn't work well, here is my custom.css, you also see it on the web site.
/* colore items senza link in mega-menu*/
.sp-megamenu-parent>li { color: #ffffff; }
/* nessuna trasformazione titoli */
h1.sp-page-title-heading {
text-transform: none !important;
}
/* altezza uguale colonne in feature box addon*/
.equal-addons .sppb-column-addons > div {
height: 170px;
}
/* padding body articoli */
#sp-main-body {padding: 30px 0 30px 0;}
/* font size in JCE */
.mceContentBody p,
.mceContentBody td {
font-size: 14px;
}
.nowrap { white-space: nowrap; }
/* riduce padding nel footer */
#sp-bottom {
padding: 50px 0 30px; !important
}
.sp-megamenu-parent{
.sp-mega-group{
> li{
> a{text-transform: none !important;font-weight: normal !important;
&:hover{color: $menu_text_hover_color;border-left-color: $menu_text_hover_color;background: rgba($white, 0.05);}
}
&.active > a{color: $menu_text_active_color;border-left-color: $menu_text_active_color;background: rgba($white, 0.05);}
}
.sp-mega-group-child{padding-left: 12px !important;}
}
}
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 1 month 3 weeks ago #10
Regards
Please Log in or Create an account to join the conversation.
- G
- gianpaolo64 New Member
- Topic Author 1 month 3 weeks ago #11
Thank you very much
Please Log in or Create an account to join the conversation.
Secure Payment
Use your cards with Paypal.