Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
bc1
Contributor III
Contributor III

Sense Themes

Hi All, 

 

Is it possible in a custom theme to specifically have some chart types/extensions with borders and other types without?

example: i would like a border around all the main bar/line charts...but for filter panes and variable dropdown extension (from the bundle) I do not want a border.

I have tried the following in CSS but it still gives me a border:

.qv-object-qlik-variable-input {
          border: none;
          padding: 0px;
  }

 

Thanks

Labels (1)
6 Replies
ajaykakkar93
Specialist III
Specialist III

Yes you can do that, just add all the classes together

.qv-object-qlik-variable-input,
.qv-object-text-image,
.qv-object-filterpane {
          border0px solid !important;
          padding0px !important;
  }

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

bc1
Contributor III
Contributor III
Author

Thanks Ajay, 

 

But when I implement that code I still get a border:

e.g.

.qv-object-qlik-variable-input {
    border: 0px solid !important;
    padding: 0px !important;
}
bc1_0-1699350266595.png

 

Any thoughts?

 
Anil_Babu_Samineni

I always prefer to check in inspect/developer tools such in CSS If only extensions (That also you should have source code of it). So, As soon as you find the ID or class in HTML, you need to find correspond to  CSS and playaround.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
ajaykakkar93
Specialist III
Specialist III

Of, are you using a theme ?? 

or sheet background color??

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

bc1
Contributor III
Contributor III
Author

Hi, I am using a custom theme and yes - there is a sheet background colour.

I did notice that in css qv-inner-object supercedes anything I do afterwards. 

e.g. What I do in qv-object-qlik-variable-input here does not flow through into the app - it just uses what is in inner-object.

.qvt-sheet {
    background: #C2A578 !important;
}

.qv-inner-object {
    border: 0.2px solid hsl(33, 29%, 41%);
    padding: 5px !important;
    /*background-color: transparent !important*/;
}
       

.qv-object-qlik-variable-input {
    background: #d51818 !important;
    background-color: transparent !important;
    border: 0 !important;
    padding: 0px !important;
}    
ajaykakkar93
Specialist III
Specialist III

Hi,

ajaykakkar93_0-1699434110463.png

 

 

 

 

.qvt-sheet {
    background: #C2A578 !important;
}

.qv-inner-object {
    border: 0.2px solid hsl(33, 29%, 41%);
    padding: 5px !important;
    /*background-color: transparent !important*/
}
       
.qv-object-qlik-variable-input .qv-inner-object{
    border: 0px solid !important;
}

 

 

 

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