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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do I add an image globally to a specific css class in Oracle Apex?

Edward ArviniusApr 22 2024

Hello! I'm a new Apex Developer and I'm having issues adding images globally to a specific css class using the theme roller.
I want to customize the Universal Theme - 42 * and I have tried to upload the image to ‘Shared Components \ ThemesCreate \ Edit Theme \ Files’ using the #THEME_DB_FILES#image.jpg reference in the therme roller. I have also tried uploading the image to the static application files using the #APP_FILES#image.jpg reference but none of those methods are working for me.

What am I doing wrong?

Here is my css that I use in the theme roller:
.t-Header-branding {
position: relative;
background-image: url('#THEME_DB_FILES#image.jpg') !important;
background-position: center;
background-repeat: no-repeat;
background-size: cover !important;
}

Comments
Post Details
Added on Apr 22 2024
2 comments
653 views