cancel
Showing results for 
Search instead for 
Did you mean: 

CSS: different fonts for different elements?

Former Member
0 Kudos

Hi,

is there a possibility to have different fonts in a view of a WebDynpro?

In the themeeditor I only want to change the font of the element ‘tree’ - but there is only the parameter ‘standard font family’, so that the font becomes valid for every elements.

Regards,

Johannes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Johannes,

Thought this is not the right way it works. Try this .If the methodology is not important u can use it.

Go to the themes folder and open

say this path...

NW04Stack09Themes\themes\portal\sap_chrome

inside this you will find a folder called ur. Inside that there will be files named as ur_ie5.css,ur_ie6.css,ur_nn6.css,ur_nn7.css .

Open each of them in ur notepad and search for the following line

urTreWhl{cursor:default;font-family:Verdana,Arial,Helvetica,sans-serif;

Here after font-family give the name of the font u want and directly put it in the server.

Dont rebuilt or generate files again.If you do that the changes will be overwritten.

I have done this and it will surely work

Thanks & Regards

Bharathwaj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Johannes,

If you change the font family of the element tree then it will affect only the texts for tree elements. It wont affect to all other elements.

Regards,

Bhavik

Former Member
0 Kudos

Hi Bhavik,

sorry, I think that isn't right.

The element 'tree' has only the parameter "standard font family" and not "font family". So it affects to all other elements. I've already tried that.

Regards,

Johannes