- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 09:24 AM
Hello,
I want to change Text Info color (and Warning, Danger) in branding-editor.
But only Test success is available.
How can the color be changed?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 02:27 PM
Ok so for circle icons the text and the image are set to have the same color, if you delete the CSS that links the info-text to $brand-info, then both the text and the image will be set to the .info-text color you define in your style, or in your local CSS.
Did you want the image and the text to be a different color? We would have to add a class to the HTML for that to occur.
Now that you removed the CSS did you edit the CSS at the style level?
CSS edit system wide for text-info
Local text-info edit
In the event that you want the text and image to be a different color:
Best,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 11:57 AM
Hey Damien,
Where are you trying to change these colors? You can override Bootstrap classes in the theme, if you are creating a custom widget.
If you are trying to set them in the Icon links, it will not work, since the CSS of the widget is setting the class to be the same as brand color. You would have to clone the widget to change this.
But in a custom widget it will work as you can see above. Navigate to Service Portal > Portals > Click through the "Theme" reference
Override whatever bootstrap classes you need using the pattern you see above.
Best,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 12:38 PM
Hy, I want to change the color of "Order something" with the color #776dac
I have clone the widget "Icon link" and change the Instance with link "Order something" with this clone. but it doesn't work.
what is exactly the code in CSS widget ? and
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:07 PM
Hey Damien,
If you cloned the widget, go into the widget and remove the custom CSS of your widget that maps the text color to the brand color, then you can change the color by overriding the bootstrap colors above. If you don't want to set colors system wide, and want to keep them isolated to the widget you can just set them directly in the code of the custom widget rather than deleting it.
Make sure you then replace the old widget with your new custom widget keeping the instance options the same. (In my quick demo I didn't set the instance options to the same)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:55 PM