I am trying to change the color of the one-page item, but all of my page items are changed.
What am I doing wrong?
.t-Form-label,
P1_E1_2_1_1 {
color: red;
}
I am writing this in the Inline field:
test done on Apex version 22.1. Created page item P70_ITEM1
and P70_ITEM2
with template label "optional" (not "optional - floating"). This looks like this:
Inspect the first item in the chrome developer tools:
Note that the label for page item P70_ITEM1
has an id of P70_ITEM1_LABEL
. That id can be used as css selector and set as "Inline" in the "CSS" section of "Page Attributes":
Save and run the page: