Read the statement by Michael Teeuw here.
Default Weather Module Icon Position
-
-
@greedyvegan yes, they are the same, that is why you need to add unique classes per my previous post, OR use the id value in custom css as the primary selector
#module_{number}_module-name
-
ok, so since this isn’t working, do I change the item “classes” or “type” ?
let’s say I change it to “weatherDAY” and “weatherWEEK”
in the css do I change it to.weatherDAY .weathericon { .weatherWEEK .weathericon {
so on and so forth?
-
@sdetweil said in Default Weather Module Icon Position:
@greedyvegan yes, they are the same, that is why you need to add unique classes per my prvious post, OR use the id value in custom css as the primary selector
#module_{number}_module-name
I also saw you say IF you choose the module number, be careful when adding modules because the number will change.
-
@greedyvegan sorry i posted to an issue
-
@sdetweil thank you very much
-
that didn’t work, I’m going to try something else
-
@greedyvegan what didnt work?
remember the thing before the {
is the selector clause,it selects the elements the stuff after the { will apply to
i use this cheatsheet to help me build the selector clause
https://www.w3schools.com/cssref/css_selectors.php -
@sdetweil changing the classes name didn’t work for me, my custom name gets ignored
@sdetweil said remember the thing before the {
is the selector clause,
it selects the elements the stuff after the { will apply to
i use this cheatsheet to help me build the selector clause
https://www.w3schools.com/cssref/css_selectors.phpI’m going to try that
-
-
@greedyvegan said in Default Weather Module Icon Position:
changing the classes name didn’t work for me, my custom name gets ignored
you noticed the dot in front of the class name , right?
. means element class (html class="foo", .foo) # means element id (html id="module_0_clock", #module_o_clock) nothing means html element (html img, body, div...)
in MM if you want to select elements in A module, then you would select the content starting with its id (#module_…) its classname (.modulename) or one of the classes specified in the classes:“xxx yyy”, property for that module