Foros de discusión
Can't override lfr-asset-category-list CSS settings because of javascript
David Stenberg, modificado hace 11 años.
Can't override lfr-asset-category-list CSS settings because of javascript
New Member Mensaje: 1 Fecha de incorporación: 29/04/12 Mensajes recientes
Hello, I am trying to override the CSS settings for the lfr-asset-category-list class (for the Categories Navigation Portlet), but the problem is that the changes are only visible when javascript is disabled in the browser, which is shown in the following screenshots:
With JS
Without JS
The following changes have been made to the _diffs/css/custom.css file
I have tried to skim through all the categories navigation-related code, but I haven't found any way to fix this problem.
So my question is: Have anyone else experienced this? If so, how did you solve it?
With JS
Without JS
The following changes have been made to the _diffs/css/custom.css file
.lfr-asset-category-list {
display: block;
list-style-type: square;
}
.lfr-asset-category-list ul {
list-style-type: square;
margin-top: 4px;
padding: 0;
}
.lfr-asset-category-list li {
list-style-type: square;
margin: 0;
padding: 0 0 3px 16px;
}
I have tried to skim through all the categories navigation-related code, but I haven't found any way to fix this problem.
So my question is: Have anyone else experienced this? If so, how did you solve it?
David H Nebinger, modificado hace 11 años.
RE: Can't override lfr-asset-category-list CSS settings because of javascri
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Yep, use a browser like chrome and see what the styles are after the js executes; that way you'll know what classes you need to tweak.