Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
ymcmb
Contributor III
Contributor III

extension background color does not fill 100%

As the title states, I am working on building out an extension for our new landing page in our Qlik app. The issue I'm facing is when setting a background color on the full <div> tag it still leaves trails of empty thin white lines as borders on the actual extension. I hope I'm asking the correct board.. but if anyone knows how to resolve this issue and have the background color 100% please do let me know! Image below of my issue.

ymcmb_0-1660241658889.png

 

Labels (3)
1 Solution

Accepted Solutions
ajaykakkar93
Specialist III
Specialist III

Yes in your specific extension u have to do that in js file add in last 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

View solution in original post

3 Replies
ajaykakkar93
Specialist III
Specialist III

hi,

i understood your issue if you inspect your code, will see that custon div has the background but the parent doesent just write a jquery scripy to provide the css to parent also

example

$("#Your_div_ID").parent().css("background","#color");

this will fix make sure the parent you choosing is current 

example 2nd parent : 

$("#Your_div_ID").parent().parent().css("background","#color");


thank you

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting

ymcmb
Contributor III
Contributor III
Author

Hi Ajaykakkar93. This makes sense but where exactly do I place the jquery script? Does this go in the .js file?

ymcmb_0-1660742893469.png

 

Thank you!

ajaykakkar93
Specialist III
Specialist III

Yes in your specific extension u have to do that in js file add in last 

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting