This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
29 Posts
RatingAction
1 month ago
Topic

My learning curve continues... :-)

I have started looking at templating and have figured out how to add typography to field values. However, I seem to be missing how to do the same to labels (e.g. format all labels or the label for a specific field as bold). It's probably pretty obvious, but I don't see it. Any help would be appreciated.

Get a Book for SEBLOD
29 Posts
RatingAction
1 month ago
2
Level 1

Solved this now by going to System -> Global Configuration -> SEBLOD 3.X -> Site, then scrolling down to Scripts & Styles and adding the following in the field CSS:

div.cck_label label { margin-bottom: 0; font-weight: bold; font-size: 16px; }

1183 Posts
Bucklash
1 month ago
1
Level 2

Nice work

Keep adding your discoveries :D

If you do markup-> none then that surrounding div will be gone...

29 Posts
RatingAction
1 month ago
0
Level 3

Good to know about the markup -> none, thanks! Hopefully I won't forget this and then spend ages for the reason why my formatting disappeared at some point...

Get a Book for SEBLOD