Solved Templates

template restora error

Asked by LEROY 4 years ago Last activity 4 years ago

$amount: Expected 70% to be within 0% and 1%: templates/shaper_restora/scss/theme.scss on line 1637, at column 4 Call Stack: #0 import templates/shaper_restora/scss/theme.scss templates/shaper_restora/scss/master.scss on line 8 #1 import templates/shaper_restora/scss/master.scss (unknown file) on line 1

Hello,
This is the error message following the last update (component and joomla version) :

$amount: Expected 70% to be within 0% and 1%: templates/shaperrestora/scss/theme.scss on line 1637, at column 4 Call Stack: #0 import templates/shaperrestora/scss/theme.scss templates/shaperrestora/scss/master.scss on line 8 #1 import templates/shaperrestora/scss/master.scss (unknown file) on line 1

two impacted sites (see hidden part)

can you help me ? thank's

Accepted answer

Marked as the solution
‏‏‎ ‎J‏‏‎‎e‏‎‏‏‎‎n‏‏‎‎s W.‏‏‎

Hello LEROY,

I am not from support, but I would like to help you.
To make the change that Ofi Khan made, you need to log into the backend of Joomla and go to the following subitem.

Joomla 3:

  1. extensions -> tempaltes -> templates
  2. click on the template Restora

Joomla 4:

  1. system -> site templates
  2. click on the template Restora

Identical for both versions:

  • Select the folder scss in the list on the left side
  • now click on the file theme.scss
  • Now you can edit the theme.scss via the editor and make the change in the mentioned line and save it afterwards.

Please note the following.
It is possible that after an update, this change could be undone by the update.
Whether this is so, I can not answer right now.
The support should be able to answer that.

Here is an example screenshot with the Helix Ultimate template for Joomla 4 and for Joomla 3 with a custom template.
This is just to show how the interface looks like when you have followed the steps above.

I hope that I could help you with this.
I wish you a nice week.

12 more replies

Ofi Khan Staff

Hello LEROY

Apology for the inconvenience. Please share one site administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

Best regards

LEROY Asked this

Hello Ofi Khan
thank's to help me

Ofi Khan Staff

Thanks for the access. Your issue is fixed now. Please check your site.

LEROY Asked this

Thank you Ofi,
How did you fix it?

Ofi Khan Staff

I have set the value to 0% in theme.scss file. It was 70% earlier.

Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

LEROY Asked this

I understand your answer but not how to do it... can you explain? I have to do it on a different site. Thanks

Ofi Khan Staff

On the file templates/shaperrestora/scss/theme.scss on line 1637 I have replaced 70% with 0%. This solved the issues.

LEROY Asked this

yes I read that but did you do it through the back end (how?) of joomla or by another method?

Ofi Khan Staff

It is possible to edit from Joomla backend.

LEROY Asked this

Thanks Ofi Kahn but you don't tell me how you do it...
So, on the Joomla backend side, how do I edit the templates/shaperrestora/scss/theme.scss file?

Log in to reply.