When i try to apply inline styles in sections. Its not getting applied. We use a skin, and the skin styles override all the inline styles. Did anyone came across such an issue. If so, please respond if you got a solution.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hope you are talking about Pega7 application, in Pega 7 inline styles are not recommended, Pega 7 skin rule provides mixins and Formats which can be leveraged to apply rich styles to your UI components.
If you still continue to use in line styles then maintenance of your application will become very difficult.
Yes. We are using the skin. In the Inline styles in pega 7, in Presentation - under Advanced presentation options, we are giving the "Cell read-write classes", "Cell read-only classes" with the class name. But even its not picking up the fromatting from that tag.
Eg) we are giving the Class name in the "dataLabelLeftStyle". But the formatting mentioned in the "dataLabelLeftStyle" is not getting applied to the cell. Instead the properties of "TD" is getting applied in all the places.
We have mapped the CSS file in the Skin. We have not created any new CSS styles. It is a pega CSS file, so we are not modifying the contents of it. We are using the style which is already present in here for our application.
Instead of the "dataLabelStyleTop" styles, we are always getting the format of specified in "TD" style.