- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 09:44 AM
Good afternoon!
I'm encountering unexpected results modifying the page CSS for esc_kb_article_view
I've changed the panel-heading background color and text color, but it's only applying on one widget (although I can see every widget title uses the panel-heading div).
Has anyone else encountered this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:37 AM
You can mark a CSS rule as important. This will make sure it can not be overwritten. You can check the documentation here.
For example:
.panel-heading {
background-color: #234567 !important;
color: #ffffff !important;
}
Let me know if this works!
Kind regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:27 AM
You can define CSS in your portal on multiple levels. See this product documentation article for details:
It is possible that your page-level CSS rule is overridden on widget or widget instance level.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:37 AM
You can mark a CSS rule as important. This will make sure it can not be overwritten. You can check the documentation here.
For example:
.panel-heading {
background-color: #234567 !important;
color: #ffffff !important;
}
Let me know if this works!
Kind regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 12:38 PM
It can be overridden by an !important rule at a lower level of the CSS hierarchy.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 01:20 PM
Thank you both very much for this information -- I'll use the important marker as well as reviewing the lower CSS sheets + widget specific CSS.