Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Standardize button icons across application

Rod BaileyFeb 3 2021

I am using Oracle Apex 20.2 with the Universal Theme and font Apex icons. I am building a rather large application which will be divided into several Apex applications. I would like to define some standard icons to be used for the typical buttons I will need, such as Create, Edit, Delete, etc. Right now I just type in the icon name in the attributes of each button I create. It occurred to me that if I ever decided that I would rather have fa-minus for delete instead of fa-trash then it would be quite a chore to change it in all of the relevant pages. Yes I know I could probably query the Apex views and I could likely even do a mass update. But still, I'd rather not monkey with the Apex data. I assume this will involve CSS and applying a custom class to each button but am unsure exactly what to do. I did try setting up a substitution string in the application settings and referring to that in the icon setting of the button. That does work fine. But CSS seemed like the more proper way to go, assuming it's possible. Any advice is appreciated, including other more appropriate options.

Comments
Post Details
Added on Feb 3 2021
1 comment
167 views