gantry / gantry5

:rocket: Next Generation Template / Theme Framework
http://gantry.org
1.03k stars 207 forks source link

g5_helium theme update error #3156

Open puhapuru opened 1 year ago

puhapuru commented 1 year ago

Hi, I'm using wordpress v6.6.2. I updated gantry5 to v5.5.16. wordpress-pkg_gantry5_v5.5.16.zip

Then I updated helium theme from v5.4.37 to v5.5.16. wordpress-tpl_g5_helium_v5.5.16.zip

After updated, I got error page on my website,

twig\error\runtimeerror an exception has been thrown during the rendering of a template ("error: css compilation on file 'helium.scss' failed on error: incompatible units rem and %.: wp-content/themes/g5 helium/scss/helium/sections/_offcanvas.scss on line 35, at column 3%0acall stack:%0a#0 import wp-content/themes/g5 helium/scss/helium/sections/_offcanvas.scss wp-content/themes/g5_helium/scss/helium.scss on line 92%0a#1 import wp-content/themes/g5_helium/scss/helium.scss (unknown file) on line 2").

So, I looked up _offcanvas.scss on line 35,

.g-offcanvas-toggle {
    color: $offcanvas-text-color;
    left: $offcanvas-width - 3rem;
    top: 1rem;
}

So I just removed '- 3rem', then it works fine. I wish you could fix this problem in next update. Thanks.

hexplor commented 9 months ago

Can you tell me a little bit more about your setup? More specifically what PHP version? Best,

puhapuru commented 9 months ago

Hi, PHP version is 8.0.13, Thanks.

2023년 10월 17일 (화) 오후 10:58, Karol Orzeł @.***>님이 작성:

Can you tell me a little bit more about your setup? More specifically what PHP version? Best,

— Reply to this email directly, view it on GitHub https://github.com/gantry/gantry5/issues/3156#issuecomment-1766477335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2MHI3F2KE62WKQVLBBUT3X72FIHAVCNFSM6AAAAAAZEFM2HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGQ3TOMZTGU . You are receiving this because you authored the thread.Message ID: @.***>