Hi,
I've created a separate file (template-custom.less) in order to override certain styles from template.less but for some reason it will not work.
Is RocketTheme still supporting this custom override on Gantry 4.1.18 for Joomla or is there an issue that keeps me from using it?
For example I wanted to disable the bullets showing up on a menu
li {
margin-bottom: 8px;
a, .item, .separator {
display: block;
font-size: 1.1em;
font-weight: bold;
}
a:before, .item:before, .separator:before { content: "\2022";
font-family: FontAwesome;
margin-right: 10px;
display: inline;
vertical-align: middle;
font-size: 1.6em;
font-weight: normal;
}
}
and I created a separate custom file for template.less and named it template-custom.less
I then edited the line - content: "\2022"; and changed it to content: " ";
Normally that should have removed the bullets from the menu, but the custom file did not override the original one, so there was no change.
On the other hand, if I implement this change on template.less directly it works, but then on the next Gantry upgrade I'll lose all my changes.
That has not changed and if does not work its because the selector is wrong or specificity is not high enough. You can switch on the debug header option for Less in the advanced settings of the template. It will produce a list of the compiled files at the top of the compiled css.