MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

position from config.js conversion to main.css

  • Hello anybody,

    could anyone explain me how the mgic mirror converts the position from config.js to the
    css Styles from main.css?

    position: ‘top_center’ in config.js finds
    in main.css but how is this done?


  • Project Sponsor Module Developer

    @Dimonic every region has the class region, the position gets splitted by underscore. then you have the class top and center

    the selector will match any tag which has the class region and top and center

    e.g. anytag class="region top center"

    EDIT: it wont let me write real html code < nor <

Log in to reply