Foren

Theme styles not visible in portlet's configuration view

David Knol, geändert vor 7 Jahren.

Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 29 Beitrittsdatum: 19.06.15 Neueste Beiträge
Hi,
Despite I've set certain styles in my custom theme, this styles are not visible in portlet's configuration popup:
- go to "Notifications" -> Configuration
- WebContentView portlet -> Edit Web Content

This popups are whole html blocks inside page original html block. My styles are not visible there. What can I do to override some styles in this popups?
thumbnail
David H Nebinger, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
I believe these are not managed by the custom theme as much as they are by lexicon.
David Knol, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 29 Beitrittsdatum: 19.06.15 Neueste Beiträge
Is there any chance to override those styles? How can I do that?
Patrick Yeo, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view (Antwort)

Junior Member Beiträge: 61 Beitrittsdatum: 08.02.13 Neueste Beiträge
Hey David,

Those styles are controlled by the admin theme. You will have to overwrite them with a custom admin theme. There is some info about changing the admin theme at https://web.liferay.com/community/forums/-/message_boards/message/81239034.
David Knol, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 29 Beitrittsdatum: 19.06.15 Neueste Beiträge
I've created a custom admin theme and copied there default one from 'frontend-theme-admin'. It's working but there's one problem. AUI icons are not visible (for example icon-circle-arrow-right icon in Control Panel->Configuration->Instance Settings->Miscellaneous). What's weird, after inspecting that in browser's developer tool and disabling-enabling one of the style rule, icons become visible. Any ideas how to fix that?
Patrick Yeo, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 61 Beitrittsdatum: 08.02.13 Neueste Beiträge
It's hard to say without seeing your theme files. I just tested with a duplicate admin theme on master and ga3 and I'm not running into that issue on chrome, ff and ie. My best guess is that it might be a css related issue, like a missing semi colon or bracket.
David Knol, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 29 Beitrittsdatum: 19.06.15 Neueste Beiträge
The issue was trivial - after restarting a browser everything works fine, so it's probably because of Chrome cache emoticon
Patrick Yeo, geändert vor 7 Jahren.

RE: Theme styles not visible in portlet's configuration view

Junior Member Beiträge: 61 Beitrittsdatum: 08.02.13 Neueste Beiträge
Glad you figured it out!