This topic is locked

Styling labels and fields

3/10/2016 10:40:30 AM
ASPRunner.NET General questions
Pete K author

I'm just now digging into the really neat looking style editor. But I immediately hit a wall -- there doesn't seem to be any way to style field values apart from field labels. The only options under the "text" container on a view page is "plain" and "header". Surely I can style them separately? What am I missing?
Edit: In the Style Editor, the field labels show as bold and the field names as normal weight. I'd like to reverse this and make the values bold, and maybe do some other things to distinguish them. But even this is not rendering as expected; everything on the page is normal weight.

Pete K author 3/10/2016

I discovered a workaround, but it seems a bit of a kludge. I noticed that the classes assigned to each container div are different; the data field div contains an additional class not used by the label, rnr-ff-vcwrap. So I added the following CSS rule to the custom section of the style editor for this page:

.rnr-ff-vcwrap {font-weight:bold !important;}


I had to make it important since the containing divs have the styling rules explicitly defined. Now I just have to figure out how to do this globally.

jadachDevClub member 3/10/2016

You can always edit in html view and do pretty much anything you want.

Pete K author 3/10/2016



You can always edit in html view and do pretty much anything you want.


Yes, but...
It's not very convenient or maintainable to have to add more container tags and style each one.
But is is nice to have direct access to the html. I am figuring out other things I can do. Trying to figure out what all the stuff in {braces} does. Doesn't seem to be well-documented. But I'm experimenting and learning.