Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
David Stenberg
Can't override lfr-asset-category-list CSS settings because of javascript
29 de Abril de 2012 13:28

David Stenberg

Ranking: New Member

Mensagens: 1

Data de entrada: 29 de Abril de 2012

Mensagens recentes

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

 2.lfr-asset-category-list {
 3    display: block;
 4    list-style-type: square;
 7.lfr-asset-category-list ul {
 8    list-style-type: square;
 9    margin-top: 4px;
10    padding: 0;
13.lfr-asset-category-list li {
14    list-style-type: square;
15    margin: 0;
16    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
RE: Can't override lfr-asset-category-list CSS settings because of javascri
29 de Abril de 2012 16:45

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 13099

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

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.