0
Welcome Guest! Login
0 items Join Now

SOLVED Simple weather particle in Helium

    • beamaria's Avatar
    • beamaria
    • Elite Rocketeer
    • Posts: 513
    • Thanks: 6

    SOLVED Simple weather particle in Helium

    Posted 8 years 9 months ago
    • Hi all, I'm working in local with helium and trying to import simpleweather particle from sienna.
      Here the steps I did, following Mr.T tutorial:
      1) Copied the weather font folder and pasted it in fonts folder of helium
      2) Added
      @include import-font($font-family-weather);

      in helium/scss/helium/styles/tipography.scss

      3) Imported dependencies
      @import "simpleweather";

      in my custom/scss/custom.scss file

      4) Copied these files: simpleweather.html.twig and simpleweather.yaml in custom/particles
      5) Copied these file:_simpleweather.scss in custom/scss
      6) Copied these files: jquery.simpleWeather.init.js and jquery.simpleWeather.js in js folder of helium
      7) Put the particle in copyright section of helium

      And the result is in the attached screenshot :(

      Attachment has been deleted



      Only half- baked, because there is a big 3 where instead there should be the icon font...The weather data are correctly displayed though, because yesterday there was a big E instead of a big 3.
      It should be only a problem of scss, but I can't pinpoint it, not even firebuging the Sienna website which uses the same particle and comparing to my Helium website.
      Any Idea ho to solve this trouble?

      SOLVED: I only needed to add this code to gantry folder/theme.yaml

      Weather:
            400: 'gantry-theme://fonts/weather/artill_clean_icons-webfont'
      
      All done!
    • Last Edit: 8 years 9 months ago by beamaria.

Time to create page: 0.049 seconds