Questions tagged [style]
The style tag has no summary.
102 questions
0 votes
1 answer
55 views
text spacing between lines is too large
I have some text I'm trying to display in an experience cloud lwc. I would like to get the space between the lines to be a little smaller: HTML: <template> <lightning-layout> &...
-1 votes
1 answer
165 views
How to change background color of screen flow?
Someone know how to change the background-color of the Screen Flow? It's possible? I tried to create a LWC Wrapper changing the background color, but had no success...
-1 votes
1 answer
127 views
How to dynamically change global css in LWR (or Aura) sites?
I am willing to switch to LWR because I need a collapsible side menu. Here is what it already looks like in Aura. I was able to change the width of the work area by editing the css of div#commThemeNav....
1 vote
1 answer
657 views
LWC Tabset - edit size of lightning-tab
I have a question on LWC Lightning-tabset that provided by SF as below figure. I just curious that is it possible to change size of each tab? because if you see in below figure, the tab's area of '...
0 votes
1 answer
410 views
Lightning Datatable Column headers are overflowing when browser window size changing by the user
I have an Aura component showing a Lightning Datatable with some columns. I'm using Word wrap to fit/read the table contents within the table. But the issue is whenever user is increasing the browser ...
0 votes
1 answer
269 views
How to override the @media css property into the experince cloud site?
I am using the citizen theme in the experience cloud site. I am trying to change the menu text color but am not able to do that using the configuration. So I am trying to add custom CSS to override ...
1 vote
3 answers
2k views
Visualforce PDF styles not applying
All of a sudden our styles on Visualforce pages are not applying. This is not happening in every org and only seems to be in the CS instances. I was viewing these vf pages today and did not have these ...
-1 votes
1 answer
187 views
Unable to view complete case number - How to remove salesforce console standard tabs Bold Header
In Console App, when I open Account and then open any case inside it, the active case tab is Bold and the case number is truncated. I wonder it happened with recent release of salesforce couple of ...
1 vote
1 answer
669 views
Cloning the task list view datatable in custom LWC (Status value and clickable button in same column)
I'm trying to create a Lightning datatable in Salesforce that displays a status value and a clickable button icon in the same column similar to the task recent view table. The button should be ...
0 votes
2 answers
9k views
Background color of lightning Button
Hello everybody I want to style the background color of a lightning button with a color so I went to check the Salesforce documentation and found out this: So I did something like that: ....
1 vote
1 answer
280 views
Lightning Web Component (LWC), Can I include both in identifier reference and hard-coded value in class attribute?
I can put an identifier in the class attribute of an element in a Lightning Web Component; double-quotes are omitted. <th scope="col" class={flexipageRegionWidth}> Or I can put a hard-...
0 votes
0 answers
194 views
slds-input css doesn't work
Hello guys I have a doubt related with Lighning-input style. I'm trying to align the value inside the textbox to the right but it seems that my css is ignored by Salesforce. I have the following HTML: ...
0 votes
1 answer
228 views
How to overwrite LWC template CSS
I have a LWC component with a table and want to make each row formatted as currency. I know with HTML we can use the format-style="currency" but I think the template is overwriting this ...
-1 votes
2 answers
2k views
Apply css class based on specific condition in Lightning component along with standard Lightning Design System
I'm trying to implement a css property from the style class of the Aura component based on the value of Aura attribute along with certain other slds class as well, which will be static. Below are the ...
3 votes
1 answer
1k views
Render as PDF page orientation
I'm trying to have both portrait (page one) and landscape (page two) in a visualforce page which is 'render as PDF'. I have tried various options but cannot get it to work, I can only get all ...