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 do we give a background color for my cards

pauljohny100Feb 26 2017 — edited Feb 27 2017

I am using apex 5.1 oracle xe .

there is a color.css in css folder

.

t-Card .u-color-blue {

background-color: blue;

}

.t-Card .u-color-red {

background-color: red;

}

.t-Card .u-color-orange {

background-color: orange;

}

.t-Card .u-color-yellow {

background-color: yellow;

}

Now i have created a template  which is a copy of  card.

and refered color.css  by

#IMAGE_PREFIX#color.css

and this is my sql

select id

, full_name card_title

, profile card_text

, nvl(email,' ') card_subtext

, dbms_lob.getlength('PHOTO_BLOB') card_initials

, apex_util.prepare_url('f?p='||:APP_ID||':3:'||:APP_SESSION||'::::P3_ID:'||id) card_link

, photo_filename

, photo_mimetype

, photo_charset

, photo_last_updated,'u-color-red' card_color

from eba_demo_proj_team_members

order by created

But i still dont get the background color of my card as red.

Trying to figure out what could i be dong wrong..

Coud be colour could be changed using named row column attribute  thought  card_color option will have been much easier option if it works

This post has been answered by pauljohny100 on Feb 26 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2017
Added on Feb 26 2017
6 comments
2,868 views