41 Posts
RatingAction
5 years 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 VIP membership
41 Posts
RatingAction
5 years 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; }

1283 Posts
Bucklash
5 years ago
1
Level 2

Nice work

Keep adding your discoveries :D

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

41 Posts
RatingAction
5 years 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 VIP membership