215 Posts
cubist
9 years ago
1
Topic

Hello Fellow Sebloders,

Having ARRGGH moment here after upgrading to Seblod 3.6.2 and J3.4.1 -- for some reason my CSS is not affecting the label tag. See this code per this test page:

.cck_practitioner_email > div > label { display:block !important; width:100%; clear: left !important; font-weight:bold; color:#CC0000; }

It DOES work when I target the DIV element above named #cck12_label_practitioner_email -- but clearly we can't do this for every ID number generated.

What's really odd to me is Chrome Developer Tools shows the proper CSS there! yet it does NOT render properly. ARRGH

The LABEL should be on it's own line and span the column width. I am target the label text "Send an email to this practitioner".

Thanks in advance for your replies.

Get a Book for SEBLOD
215 Posts
cubist
9 years ago
0
Level 1

Well in the end I put this code in the HEAD portion of the template's index.php page: 

.cck_YOUR-FIELD-NAME > div:first-child { display:block !important; width:100% !important; clear: left !important; font-weight:bold !important; color:#000000 !important; font-size:16px !important; }

Get a VIP membership