Zen Cart Logo
Forums / Zen Cart Code Suggestions / messageStack css

messageStack css

Views: 34

Results 1 to 5 of 5
18 Jan 2018, 2:23 PM
#1
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

messageStack css

Hi
Since the messageStack css is defined in messageStack class, it would be nice to have a general messageStack style and a messageStack "Type" style

So something instead of
**<div class="messageStackCaution larger">...</div> **

More like something
**<div class="messageStack Caution larger">...</div> **

This way one could style a general messageStack and also the specific "type"

18 Jan 2018, 4:02 PM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: messageStack css

You can also use messageStack^ {your styling}
This will trigger on everything starting with messageStack.

18 Jan 2018, 4:17 PM
#3
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

Re: messageStack css

Ok !
Always learning :smile:

18 Jan 2018, 5:06 PM
#4
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: messageStack css

More wildcards are possible. But you'll have to Google them, as I don't know all of them.

18 Jan 2018, 5:09 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: messageStack css

Design75:

More wildcards are possible. But you'll have to Google them, as I don't know all of them.
w3schools has a good synopsis: https://www.w3schools.com/cssref/css_selectors.asp