Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Difficulty in understanding the requirement.

vidhya_mouli
Tera Sage

I have the following requirement from the client:

a header (use the STYLES css classes (specified in sp_css)- see already existing headers for what CSS classes are being used)

 

I am creating a variable set and I am supposed to use STYLES css classes. But I am not sure where to use this? Do we have to explicitly specify this or will it get automatically implemented? If we have o explicitly specify this, where should we specify?

1 ACCEPTED SOLUTION

Sohithanjan G
Kilo Sage

Hi @vidhya_mouli , 

1. sp_css style sheets are, where all the branding data you have it. Suppose if you are using custom portal with custom branding, you might have new style sheet sp_css record. 

2. So, if they want heading to be as per mentioned in their custom css in sp_css. Then you can do in this way by craeting rich field, in source code adding that custom  css class as per sp_css record. Then automatically, it will show in that branding format. 

 

SohithanjanG_0-1709566489016.png

SohithanjanG_1-1709566699052.png

 

🙂

Please mark as Accepted Solution if this solves your query and HIT Helpful if you find my answer helped you. This will help other community mates too..:)

View solution in original post

4 REPLIES 4

Sohithanjan G
Kilo Sage

Hi @vidhya_mouli , 

1. sp_css style sheets are, where all the branding data you have it. Suppose if you are using custom portal with custom branding, you might have new style sheet sp_css record. 

2. So, if they want heading to be as per mentioned in their custom css in sp_css. Then you can do in this way by craeting rich field, in source code adding that custom  css class as per sp_css record. Then automatically, it will show in that branding format. 

 

SohithanjanG_0-1709566489016.png

SohithanjanG_1-1709566699052.png

 

🙂

Please mark as Accepted Solution if this solves your query and HIT Helpful if you find my answer helped you. This will help other community mates too..:)

Hi @Sohithanjan G 

I am not able to access this styles in UI page/ UI Macro, any idea how do i access styles

You can access Portal styles using the sysif of the style using sysid of the style
Please refer all your list of style in the table "sp_css.LIST"

<head>

<link rel="stylesheet" type="text/css" href="sys_id_Of_style.spcssdbx">

</link>

Thanks @Harish Murikina  for the help, it is indeed working and custom fonts are reelecting now