<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I change the panel title font size using XML instead of CSS? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397342#M25979</link>
    <description>&lt;P&gt;Thank you, it worked.&lt;/P&gt;

&lt;P&gt;Could you perhaps help me also to change the color of the single value? I would like to have a static blue color without ranges.&lt;BR /&gt;
I try to implement it as follows, but it does not work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;html&amp;gt;
       &amp;lt;style type="text/css"&amp;gt;
          #LogBackupWithCSS1 .dashboard-panel .single-value .single-result {
            font-size: 40px !important;
            color: #0877A6 !important;
          }
       &amp;lt;/style&amp;gt;
     &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The font size gets changed correctly by the above.&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil    &lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 12:54:10 GMT</pubDate>
    <dc:creator>damucka</dc:creator>
    <dc:date>2018-11-21T12:54:10Z</dc:date>
    <item>
      <title>How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397338#M25975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to change the dashboard panel title font size using XML, not CSS.&lt;/P&gt;

&lt;P&gt;I found the following in one of the posts:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;
            .dashboard-row .dashboard-panel h2.panel-title {
             font-size: 20px !important;
           }
         &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But, when I insert it inside of the  and  it still changes the title font of ALL the panels in my dashboard.&lt;/P&gt;

&lt;P&gt;How would I change the title font for one particular panel only?&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397338#M25975</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2018-11-20T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397339#M25976</link>
      <description>&lt;P&gt;@damucka give panel an id for example &lt;CODE&gt;myPanelWithCSS1&lt;/CODE&gt; and then change CSS Select to the specific panel&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;row&amp;gt;
    &amp;lt;panel id="myPanelWithCSS1"&amp;gt;
         ....
    &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then add id to your CSS Selector to make it more specific:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        .dashboard-row #myPanelWithCSS1 .dashboard-panel h2.panel-title {
            font-size: 20px !important;
        }
      &amp;lt;/style&amp;gt;
   &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Nov 2018 17:08:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397339#M25976</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-11-20T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397340#M25977</link>
      <description>&lt;P&gt;@niketnilay Awesome!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 19:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397340#M25977</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2018-11-20T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397341#M25978</link>
      <description>&lt;P&gt;Had to play with it a little bit to get it to work. I went with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;style&amp;gt;
  /* Target a single panel, that has an id="myPanelWithCSS1" */
  #myPanelWithCSS1 .dashboard-panel h2{
    font-size: 40px !important;
    color:red !important;
  }
 &amp;lt;/style&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 19:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397341#M25978</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2018-11-20T19:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397342#M25979</link>
      <description>&lt;P&gt;Thank you, it worked.&lt;/P&gt;

&lt;P&gt;Could you perhaps help me also to change the color of the single value? I would like to have a static blue color without ranges.&lt;BR /&gt;
I try to implement it as follows, but it does not work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;html&amp;gt;
       &amp;lt;style type="text/css"&amp;gt;
          #LogBackupWithCSS1 .dashboard-panel .single-value .single-result {
            font-size: 40px !important;
            color: #0877A6 !important;
          }
       &amp;lt;/style&amp;gt;
     &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The font size gets changed correctly by the above.&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil    &lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397342#M25979</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2018-11-21T12:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397343#M25980</link>
      <description>&lt;P&gt;I haven't worked with the .single-value .single-result before. I wouldn't want to steer you wrong. Perhaps that is another question for Splunk Answers?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397343#M25980</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2018-11-21T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the panel title font size using XML instead of CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397344#M25981</link>
      <description>&lt;P&gt;Sure, thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 15:35:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-change-the-panel-title-font-size-using-XML-instead-of/m-p/397344#M25981</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2018-11-21T15:35:16Z</dc:date>
    </item>
  </channel>
</rss>

