# How can I use css for constantly updating values and buttons in Kx Dashboards?

**URL:** <https://forum.kx.com/t/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards/13697>\
**Category:** Community Support\
**Tags:** imported, other\
**Created:** [August 31, 2021, 12:00am UTC](https://forum.kx.com/t/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards/13697 "2021-08-31T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lkerr2](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/lkerr2/32/57_2.png) [@lkerr2](https://forum.kx.com/u/lkerr2)\
**Post date:** [August 31, 2021, 12:00am UTC](https://forum.kx.com/t/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards/13697/1 "2021-08-31T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards](https://learninghub.kx.com/forums/topic/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards)

I am trying to use css to add responsiveness to a dashboard. The current method works fine for normal text, however the code does not affect buttons, nor text that constantly updates, I believe that when the code updates, it overrides my edits.

&nbsp;

This is an example of code that works:

&nbsp;

@media screen and (max-width: 1600px){  
.basicHeading{  
font-size: 17px;  
}  
}

@media screen and (max-width: 1280px){  
.basicHeading{  
font-size: 13px;  
}

…  
}

&nbsp;

&nbsp;

This is an example of the code that is not working, I have used 1 px for testing purposes:

@media screen and (max-width: 1280px){

…

.telem{  
font-size: 1px;  
}

}

---

<div class="post-metadata">

**Author:** ![leahs](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@leahs](https://forum.kx.com/u/leahs)\
**Post date:** [September 1, 2021, 12:00am UTC](https://forum.kx.com/t/how-can-i-use-css-for-constantly-updating-values-and-buttons-in-kx-dashboards/13697/2 "2021-09-01T00:00:00Z")

</div>

Hello ui-justin,

We are delighted to welcome you to the KX Community. Thank you for your contribution.

The following should help you for the font-sizing issue of Text&Button:

@media screen and (max-width: 1600px){  
.basicComponents\_label \> div { font-size: 17px; }  
.link-button button \> span { font-size: 17px; }  
}

@media screen and (max-width: 1280px){  
.basicComponents\_label \> div { font-size: 13px; }  
.link-button button \> span { font-size: 13px; }  
}

Let us know how you get on with this. We look forward to future engagement.

Kind regards,

Leah
