5

CSS overriding global / default styles


Avatar
mono team

Make it easy to override global styles. Stop using random id selectors combined with importants statements in css.
#e-1646992408202 h1, #e-1646992408202 h2, #e-1646992408202 h3, #e-1646992408202 h4, #e-1646992408202 h5, #e-1646992408202 h6 {
line-height: inherit!important;
text-align: inherit!important;
margin: 0!important;
padding: 0!important;
}
better if you need own selector use generic class for gempage content.
e.G
.gempages h1,
.....
.gempages h6 {
line-height: inherit;
text-align: inherit;
margin: 0;
padding: 0;
}

A

Activity Newest / Oldest

Avatar

Chris

Status changed to: Planned

Avatar

Nicholas

Hello mono team,

I would like to thank you for your suggestion on improving GemPages' User Experience.

Currently, we use random #id selector for technical reason. I agree with you that if we use a generic class it would improve shop owner's template building experience.

I've noted your post down and will present your suggestion to GemPages' Product Development Team in the future.

Please stay tuned for our updates!

Best Regard,
Nicholas