Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT
Highlighted
edim_fazlic
New Contributor II

Change extensions font-family

Hi,

I'm unable to change the extensions font-family, even if I marked the font-family as "!important". I have no problems to change the font-color or the font-size, but the font-family is always the same. I need to mention that this problem only appears on SVG text elements, not on plain html text.


Has someone any idea how to solve this?


Tags (1)
1 Solution

Accepted Solutions
edim_fazlic
New Contributor II

Re: Change extensions font-family

Found a solution after a while.

I tried dynamically to set the font-family for an object, outside the css file,

this._item.setAttributeNS(null, "font-family", fontFamily)

This method, didn't work. The solution is setting the font-family with jquery:

$(element.item).css("font-family", fontFamily);

View solution in original post

1 Reply
edim_fazlic
New Contributor II

Re: Change extensions font-family

Found a solution after a while.

I tried dynamically to set the font-family for an object, outside the css file,

this._item.setAttributeNS(null, "font-family", fontFamily)

This method, didn't work. The solution is setting the font-family with jquery:

$(element.item).css("font-family", fontFamily);

View solution in original post