Viscosity
logo-black
  • Data
    • Database Services
      • Performance Assessment
      • Proactive Healthcheck
      • Database Migration & Consolidation
      • Performance Tuning
    • Microsoft Services
      • Microsoft Azure Services
      • Microsoft SQL Server Services
      • Microsoft Gold Azure Partner
    • Oracle Services
      • Oracle Database 19c
      • RAC
      • GoldenGate
      • Data Guard
      • Oracle & SQL Database
    • Viscosity Remote Services
  • Apps
    • App Dev Services
    • Oracle APEX
    • Viscosity AMP
    • Viscosity-ai
    • Shane-ai
  • Cloud
    • Cloud Services
    • Hybrid Cloud
    • Viscosity Edge Cloud
    • Virtualization & Cloud Expertise
    • Microsoft Azure Services
  • Infrastructure
    • Infrastructure Services
    • Exadata
      • Exadata Resale & Services
    • Oracle Database Appliance
      • Oracle Database Appliance Resale & Services
      • ODA Health Checks
    • Zero Data Loss Recovery Appliance
    • VMware to KVM Migration
  • Events
    • Upcoming Events
    • Virtual Training
    • 2025 Past Events
    • 2024 Past Events
    • 2023 Past Events
    • 2022 Past Events
  • About
    • About Us
    • News
    • Blogs
    • Publications
    • Contact
Hit enter to search or ESC to close
ENGAGE WITH US

Application Development , Oracle database , APEX , low code , Web Development

CSS Text Color

By Alan Quigley
April 18, 2023

Let’s continue some CSS and change some color.  This is another really easy one. 

 

I had a request to change the text of specific page items to show that they are required.  Sometimes the asterisk isn't enough.  We can change the required headers to red to make it easier to see what has to be filled out.  We will show this with some green, but it can be changed to whatever you want it to be.

 

We just need to add a quick CSS Class to the CSS Inline field.  It will look a little something like this:


CSS 1 pic

.series{

    color: green;

}

 

Again, very little code.  

 

Let’s throw it in the Heading of a Grid/Report Header.  This will work on either.


CSS2

<div class="series">Series</div>

 

When we go look at that column now, that Header is in Green.



CSS3

 

We can add that to the column CSS Class under Appearance and that will change the entire column to that color text.

 


CSS4

Now everything is green.

 

CSS5 

 

 

We can add that to a page item to change that title to Green as well.  To do that you just need to change that label to the same code from the Grid/Report Header.  

 

 CSS6

 

<div class="series">Text Field</div>

 

 CSS7

 

For a second color, just create a second class that would be called in the same way.  

 

CSS8

 

We can make the headers different colors based on what CSS Class is called.

 

 CSS9


Easy way to add some color to show what is required or make it easy to spot specific fields.

All posts
About Author
Alan Quigley

Alan Quigley is a Senior Software Architect at Viscosity, with almost four years of invaluable expertise to the role. He has over nine years of specialized experience in Oracle APEX and more than twelve years of honing his skills in crafting complex logical solutions. Alan has made a significant impact in diverse industries such as Accounting, Supply Chain, Logistics, Healthcare, and Utilities, thanks to his exceptional command of PL/SQL and Oracle APEX. He is an undisputed expert in these domains, consistently delivering innovative, efficient, and robust software solutions that redefine industry standards.

You might also like
Creating an APEX App Using Data From an API – Step 4
Creating an APEX App Using Data From an API – Step 4
April 18, 2023
Creating an APEX App Using Data From an API – Step 3
Creating an APEX App Using Data From an API – Step 3
April 18, 2023
Creating an APEX App Using Data from an API – Step 2
Creating an APEX App Using Data from an API – Step 2
April 18, 2023
SUBMIT YOUR COMMENT
logo for footer

Viscosity's core expertise includes:

Data Transformation, Emerging Technology, High Availability & Scalability Solutions, Cloud Migrations, Performance Tuning, Data Integrations, Machine Learning, APEX Development, and Custom Application Development.


Solutions

Resources

Partnerships

Careers

Clients

 

Contact
Email: sales@viscosityna.com

Telephone:
(469) 444-1380

Address:
3016 Communications Pkwy Suite 200, Plano, TX 75093

Copyright 2025. All Rights Reserved by Viscosity North America.