Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
2

by Chris Cook about November 6, 2011 closed - report

Styling Profile Question Labels

Preface: I've only been working in SE4 for a couple days. Our website is running a modified version of the Midnight theme. When I setup Profile questions, the styled format for the Label and Answer look the same. Example: Reel BPS Extreme I would like to style the Label to be bold and in a different color, but when I look at the output source both fields are a generic li span with no class. Is there someplace I could go into a .tpl or something and edit this so the label has a class and the answer has a class? Thanks so much for any info you can provide!!!

Answer: 1  •  Score 1  •  Views: 858

1 Answer
Browse by
  • 40

    by Vitaly Manzenko about November 8, 2011 Best answer

    try add CSS code to your theme.css:

    .profile_fields > ul > li > span {
    color: black; /*color for 'Reel' field*/
    font-weight: 700;
    }
    .profile_fields > ul > li > span + span {
    color: red; /*color for 'BPS Extreme' field*/
    font-weight: 400;
    }
    • Score: 0
Question was closed.