You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Overriding CSS of a button using query selector where component ID is not available

edited Aug 27, 2024 5:52AM in Recruiting, Opportunity Marketplace 1 comment

Summary:

Hi team,

We have one requirment to change the look and feel of a button in requisition search page (redwood). We don't find any unique id attached to that button tag.
so we have overridden the CSS through docuement.queryselector in js function. Please let us know ,if this approach is upgrade safe or not ?

App name : recruiting-hiring
Flow name: requisition
page name: search

Content (please ensure you mask any confidential information):

NA

Version (include the version you are using, if applicable):

Redwood 24C


Code Snippet (add any code snippets that support your topic, if applicable):

We have used the below js code to add the css class to the button element for overriding the css..

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!