Suggest an alternative to the HTML widget for making buttons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 09:07 AM
I'm using the HTML widget to make menu buttons in Employee Center. I've been asked to include a hover over that is formatted with a specific font size and font type. I can create the hover over for the html buttons but obviously since they don't use CSS I cant format the font size and type. Is there another widget or alternative solution that can accomplish this goal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 09:31 AM
:hover is a pseudo-selector, which means you wont be able to slide it in by using an in-line style tag. You basically would need to go to the CSS for the portal pages and add in the required CSS, probably give it a custom class name so you can call that class in the HTML widget and not step on other theme or formatting in the ESC.
An alternate idea is to use onMouseOver and onMouseOut and instead of color below add your font tags. Untested but a recommendation to get around modifying ESC core css configs.
<a href="abc.html" onMouseOver="this.style.color='#0F0'" onMouseOut="this.style.color='#00F'" >Text</a>