Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 atafsson
		
			atafsson
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I'm building a "focus" theme with a dark background.
For some reason listboxes and tabled add some white (or light gray?) lines between data values and columns.
Have tried to find the setting for this, but I can't find it. I'd like to make the change globally, so I don't need to change it for each chart object type.
Anyone able to assist on this?
Thanks!
 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
 kamalqlik
		
			kamalqlik
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Atafsson,
I don't think it is possible in Qlik Sense directly. Only way you can change it using Mashup and change in HTPL Code.
Regards
Kamal
 
					
				
		
 atafsson
		
			atafsson
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Yes it is possible. I manage to change it with this code for listboxes:
.qv-listbox li.serverSelected {
    border-color: black;
}But that only includes listboxes when values are selected. I know how to do for all states of listboxes, but I need to do the same for tables (pivot and normal tables).
 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I tried to add this block to the theme.json file:
"listBox": {
		  "title": {
			"main": {
			  "color": "@TextColor",
			  "fontSize": "@TextSize"
			}
		  },
		  "content": {
			"color": "#ff007f",
			"fontSize": "@TextSize",
			"borderColor": "#ff007f"
		  }
	}
While it changed the font colour, the borderColor setting was ignored, so perhaps this isn't part of the theme api.
I suppose you could add a generic style to your css file
td {
border-color: black!Important;
}
but that will be applied to all cells on your page(s).
 
					
				
		
 atafsson
		
			atafsson
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Have you tried?:
.qv-listbox li {
    border-color: black!Important;
}If it works, try it without the
!Important
and look in the developer console to see where it is being overwritten
 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		In fact, you could try this in the first instance and then experiment with .qv-listbox li
.qv-listbox {
    border-color: black!Important;
}
 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
 rbartley
		
			rbartley
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		This worked for me
li {
    border-color: black!Important;
}
					
				
			
			
				
			
			
			
			
			
			
			
		 Levente
		
			Levente
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I could change too, but disappeared right after refreshing / reloading the app...
Is there any permanent solution?
Thanks,
Levente
