|
Re: Resizing font icon in AbstractImageField [message #1806915 is a reply to message #1806897] |
Fri, 17 May 2019 14:10 |
|
For issues like that, you need to start the dev-tools (F12) of your browser. Most likely your CSS selector is not selective enough, which means a selector from the default Scout CSS is "stronger" than yours.
When you inspect your icon in the dev-tools, you'll see which styles are applied to your icon (and also which are overridden). Also you must check, on which DOM element exactly Scout adds the CSS class, because your selector must match that hierarchy. See the screenshot here.
This should work:
.image-field.bigIcon > .field > .font-icon {
color: red;
font-size: 50px;
}
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
|
Powered by
FUDForum. Page generated in 0.03051 seconds