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!

How to change a NavBar entry background color

RichDWFeb 3 2020 — edited Feb 5 2020

Apex 5.1.4

ORDS 18.2

Oracle Express 18c

I have attempted to use css to alter the look of one NavBar entry, so the background color is red (instead of the default blue).  In my reading I found that Apex 5.1 has a bug that does not allow use of pre-defined Universal Theme status modifier classes   (which did not work for me either).  So following the example here I attempted to create a css file titled 'nav.css' :

.nav-red {

  background-color: red !important;

}

I loaded the css file as a static application file... reference is   #APP_IMAGES#css/images/nav.css

As 'Mint-Innit' indicated, I  went to shared components -> themes -> universal theme - 42 -> Styles -> Vista and I  added the URL reference to my uploaded file under File URLs.

In the Navigation Bar entry, in the 'Image/Class' field, I entered     nav-red

This color formatting for the one nav bar entry is not getting picked up when running the application.

Have I not got my css file format correct, or am I not referencing the class correctly, or ..... what?

I appreciate any input you can provide.

Rich

This post has been answered by fac586 on Feb 3 2020
Jump to Answer
Comments
Post Details
Added on Feb 3 2020
15 comments
2,625 views