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!

APEX 5: How can i change header background in Universal theme by CSS(page load event)

Jozef Demovic SVKJul 30 2015 — edited Sep 17 2015

Hi experts,

After i upgraded some application from theme 25 to Universal Theme(UT) everything went fine except one of my DA process.

I use one DA (Page load) where i change background color of #uheader div due to different department wants to have different color of it.

It wors in Theme 25.

Now i would like to do the same in UT. I used .t-Header-branding class for it. When i change it via Firebug - it looks as i need. But if i do the same process:

DA -> Page load -> set style -> jQuery selector -> .t-Header-branding it throws firebug console error:

2015-07-30_105054.png

Is there some order of jQuery loading and theme component loading ?

Or something else?

I reproduced it on apex.oracle too:

2015-07-30_105124.png

https://apex.oracle.com/pls/apex/f?p=16502

demo/demo

check Title + CSS and you can see the error in console.

If i use the same for classic page item etc. everything is OK.

The best way for me should be create some another Theme definition by Theme Roller and save it and programmatically change it based on department variable is set.

Regards

J

This post has been answered by Sunil Bhatia on Jul 30 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2015
Added on Jul 30 2015
16 comments
7,676 views