Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Christian Freihoff
Cannot style a portlet's popup
21. Februar 2013 05:54

Christian Freihoff

Rang: Junior Member

Nachrichten: 36

Eintrittsdatum: 3. Dezember 2012

Neue Beiträge

When using the editing or "new" function in a portlet like Asset Publisher i get an iframe with a form. I would like to style elements inside this form. For that i looked up the classnames of the element i would like to style an wrote some css code into the custom.css (what perfectly works on the basic page).
But in the iframe's/popup's body nothing changes.

So, what am i doing wrong?

Thanks in advance
Patrick Yeo
RE: Cannot style a portlet's popup
1. März 2013 08:34

Patrick Yeo


Rang: New Member

Nachrichten: 10

Eintrittsdatum: 7. Februar 2013

Neue Beiträge

Hope you figured this out, but if not you can try styling the form elements instead of the class names in custom.css.

 2input[type="text"], input[type="password"], textarea {
 3    background: green;
 4    border: 1px solid black;
 7input[type="submit"], input[type="button"], input[type="reset"] {
 8    background: blue;
RE: Cannot style a portlet's popup
1. März 2013 09:08


the pop-up has a class


try to use that and the form elements in your css then that should be specific enough to overwrite the styles.