Is there a universal CSS class I can use to edit the font and styling of all form labels in my Rails app?
The specific section that needs to be changed includes:
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :bio %>
<%= f.text_area :bio, :cols => "80", :rows => "10" %>
<%= label_tag "Profile Picture" %>
<%= collection_select(:user, :profile_picture_id, ProfilePicture.all, :id, :name, prompt: true) %>
I want the labels for :username
, :bio
, and "Profile Picture"
to have a different font style without having to specify a class
parameter individually.