- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 02:16 PM
Hello dear community, I need help:
I'm trying to figure out what things I can do in the service portal I'm building, I want to know if I can change the background color of what is selected in the picture below.
When I press the pencil button to edit I get the options shown in the image.
I have tried to figure out how to correctly place CSS Class, but so far without success, how do I have to place the CSS Class? could someone provide me with an example?
I hope you can help me. Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 07:12 PM
Hello Alessa,
That field is where you define what CSS class you want to use for the specific element, not actually defining your CSS styling. For example, say you wanted that to be element1, you would input element1 in the field. Then you would go into your page CSS and use .element1 to select that element and apply your styles there.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 07:16 AM
Hello, thank you very much for your reply:
Then I understand that in that field I don't really define the CSS style.
It is just not clear to me from which page I have to get the CSS style to be able to insert it in that field.
By any chance, is there an example that I can see, to know how I can use that field?
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2022 12:36 PM
Hello,
You would add your CSS by clicking on the Page settings at the top:
To be presented with Page-Specific CSS
This is where you would put the following code:
.element1{
background-color: blue; /*or whatever color you want*/
}
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan