Questions tagged [styleclass]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
67 views

Color of field Error in VFP

I am using the Standard field Email of the Standard object Contact in a VFP. In Salesforce when I enter an invalid email address, I get the error message like this However When I enter an invalid ...
0 votes
0 answers
25 views

Style buttons in pageBlockButtons

I can't manage to put a sldsclass on my buttons in a pageBlockButtons the class applied by the pageBlockButtons seems to override the class I put because it is higher in the hierarchy. <apex:...
  • 109
0 votes
0 answers
150 views

apply style on my VisualForce page

I want to apply a color gradient on the background-color on a component of my VisualForce page. I used some code I found at : PageBlockSection background style using static resource file to test a ...
  • 109
0 votes
0 answers
321 views

How to add the css in lightning component style class

I am using a third party lightning component in 'lightning Flow' to display dynamic questions. Some checkboxes are getting displayed via that lightning component but their width is set to 100%. I ...
  • 555
0 votes
1 answer
2k views

How to add css to override existing styling in lightning component

I am using an existing lightning component that displays some checkboxes. I am wondering if there is a way to reduce the size of the checkboxes. <design:component > <design:attribute ...
  • 555
0 votes
1 answer
118 views

styles are changing in <li> , If I put <li> in outputpanel

I am looking to display labels based on the condition for that I am trying to use Outputpanel. But, If I use Outputpanel "li" tag styles are changing and Underline is coming on labels when we put ...
0 votes
2 answers
607 views

What could be the reason for app.css overriding external styles. How can we prevent it from happening

I have a external CSS stored in static resource. I am referencing style class from that CSS in many places( lightning components and visual force pages). After winter 18 update,few of my styles ...
0 votes
0 answers
16 views

Lightning supresses custom classes in VisualForce page

I ran into an issue where a VisualForce page containing custom style classes (in the head tag), and which displays fine in Classic, gets the custom classes supressed in Lightning. If raw styles are ...
  • 31
0 votes
0 answers
249 views

Styles not coming up perfectly on dependent picklists used as input-fields

I am creating a visualforce page using lightning design system style classes.The issue which I am facing is that I am using styleClass attribute in my two picklists shown using These picklists are ...
0 votes
0 answers
286 views

Using Salesforce style/css for table sort order

I've created a custom page which apes the standard related list layout. I want to use the same CSS styling to indicate that sorting is on a particular column. This is what it looks like on a standard ...
  • 2,540