Hi,
I would like you to provide me explanations and clarifications pertaining custom LESS, especiallay versus custom CSS, using the "child theme method".
The following CSS snippets do not fully work using the a "child CSS" (whereas they work with the two other customization methods i.e. site options \ custom code and customize plugin). By contrast, they DO fully work when put in a "child LESS".
- Example #1 : a custom class of y own
.astuce p {background-color: orange;}
.astuce p:before {content: url('..images/everything-spritev2.png');}
.astuce p:after {content: "\2713"}
The first rule only works when put in my child "style.less" file. Mixing Pagelines overriding IDs such as #page or #site and/or CSS important declaration in a child "style.css" was fruitless. The two last rules work whatever the method.
- Example #2 : a widget class ("Google Doc Embedder" - GDE)
a.gde-link:link {
font-size: 80%;
font-variant: small-caps;
color: green;
}
The color property only applies when put in a child "style.less" file. the two first properties work whatever the method.
Is this all logical for you, and if so WHY ? Am I wrong or right when thinking there IS a difference here when using LESS vs. CSS, one way or the other?
Moreover, could you confirm me a "child LESS" file is grouped together with all other Pagelines LESS files and dynamically compiled, contrary to a "child CSS file" ? If this indeed the case, should I expect a major benefit from this, or not really ?
Thank you so much in advance for your comments and clarifications... !
Best regards,
Erwan











