<?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: help on xml formatting with css in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530445#M149870</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;&amp;nbsp;, the following code would add background to just the text and not the entire row:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        span.my_header 
       {
         background: #848484 !important;
        }
        span.my_para 
        {
          background: #848484 !important;
        }

      &amp;lt;/style&amp;gt;
      &amp;lt;h1 class="my_header"&amp;gt;&amp;lt;span&amp;gt;DEVICE&amp;lt;/span&amp;gt;&amp;lt;/h1&amp;gt;
      &amp;lt;p class="my_para"&amp;gt;
       &amp;lt;span&amp;gt;abcdefg.....&amp;lt;/span&amp;gt;
      &amp;lt;/p&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_shreya_0-1606143476176.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12019i03CC450C26D33167/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_shreya_0-1606143476176.png" alt="t_shreya_0-1606143476176.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 14:58:27 GMT</pubDate>
    <dc:creator>t_shreya</dc:creator>
    <dc:date>2020-11-23T14:58:27Z</dc:date>
    <item>
      <title>Help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530373#M149854</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I need to format background in &amp;lt;h1&amp;gt; tag and &amp;lt;p&amp;gt; tags in my xml&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
         &amp;lt;h1&amp;gt;
          &amp;lt;center&amp;gt;DEVICE&amp;lt;/center&amp;gt;
          &amp;lt;/h1&amp;gt;
       &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;

 &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
         &amp;lt;p&amp;gt;
abcdefg.....
          &amp;lt;/p&amp;gt;
       &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my css file, there is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.h1 {
background: #848484 !important;
}



.p {
background: #848484 !important;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just a background for &amp;lt;h1&amp;gt; but not on the entire row but just behind the h1 text...&lt;/P&gt;
&lt;P&gt;how to add background in a &amp;lt;h1&amp;gt; and a &amp;lt;p&amp;gt; tag please?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 05:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530373#M149854</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-24T05:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530410#M149860</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;&amp;nbsp;, can you try the following?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        h1.my_header 
       {
         background: #848484 !important;
        }
        p.my_para 
        {
          background: #848484 !important;
        }

      &amp;lt;/style&amp;gt;
      &amp;lt;h1 class="my_header"&amp;gt;DEVICE&amp;lt;/h1&amp;gt;
      &amp;lt;p class="my_para"&amp;gt;
abcdefg.....
       &amp;lt;/p&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Nov 2020 11:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530410#M149860</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-23T11:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530427#M149865</link>
      <description>&lt;P&gt;Hi nothing has changed.....&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 13:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530427#M149865</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-23T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530445#M149870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;&amp;nbsp;, the following code would add background to just the text and not the entire row:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;html&amp;gt;
      &amp;lt;style&amp;gt;
        span.my_header 
       {
         background: #848484 !important;
        }
        span.my_para 
        {
          background: #848484 !important;
        }

      &amp;lt;/style&amp;gt;
      &amp;lt;h1 class="my_header"&amp;gt;&amp;lt;span&amp;gt;DEVICE&amp;lt;/span&amp;gt;&amp;lt;/h1&amp;gt;
      &amp;lt;p class="my_para"&amp;gt;
       &amp;lt;span&amp;gt;abcdefg.....&amp;lt;/span&amp;gt;
      &amp;lt;/p&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_shreya_0-1606143476176.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/12019i03CC450C26D33167/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_shreya_0-1606143476176.png" alt="t_shreya_0-1606143476176.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 14:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530445#M149870</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-23T14:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530447#M149871</link>
      <description>&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;I confirm you that for &amp;lt;h1&amp;gt; I need to colorthe background for entire row&lt;/P&gt;&lt;P&gt;So I dont need &amp;lt;span&amp;gt;&lt;/P&gt;&lt;P&gt;The problem I have is that nothing happen with your code!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530447#M149871</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-23T15:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530512#M149878</link>
      <description>&lt;P&gt;I forgot to tellement you that i put my ces in an external sheet and not directly on the xml...&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 03:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530512#M149878</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-24T03:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530513#M149879</link>
      <description>&lt;P&gt;Oh alright!&lt;BR /&gt;Have you used the external css in the dashboard in the following manner?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard stylesheet="myfile.css"&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;h1 class="my_header"&amp;gt;DEVICE&amp;lt;/h1&amp;gt;
   &amp;lt;/html&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;p class="my_para"&amp;gt;abcdefg..... &amp;lt;/p&amp;gt;
   &amp;lt;/html&amp;gt;
 &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the following should be in myfile.css:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;h1.my_header 
{
   background: #848484 !important;
}
p.my_para 
{
   background: #848484 !important;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 04:04:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530513#M149879</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-24T04:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530518#M149881</link>
      <description>&lt;P&gt;Yes. Its exactly what I done but no results!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 04:55:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530518#M149881</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-24T04:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530520#M149882</link>
      <description>&lt;P&gt;Can you confirm and let me know if the external css file is placed in appserver/static folder of the app?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 05:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530520#M149882</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-24T05:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530524#M149883</link>
      <description>&lt;P&gt;Yes it is&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 05:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530524#M149883</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-24T05:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530745#M149932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/102660"&gt;@jip31&lt;/a&gt;&amp;nbsp;, not sure why it's not working for you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are both internal or external css not working in the dashboard, or the css is not working only when it is linked externally?&lt;BR /&gt;&lt;BR /&gt;Also, did you try to _bump and refresh the dashboard to see if changes are getting reflected?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 05:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530745#M149932</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-25T05:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530755#M149937</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I have done _bump but same problem&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I didn't tested the CSS directly in the dashboard because I am obliged to use an external sheet&lt;/P&gt;&lt;P class="lia-align-justify"&gt;But for other dashboard, I use ID instead class with an external sheet and it works&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 05:58:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530755#M149937</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-25T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530979#M149993</link>
      <description>&lt;P&gt;is anybody can't help?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 10:01:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530979#M149993</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-26T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530987#M149999</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is there any error getting shown in the console of the browser?&lt;BR /&gt;And if you are trying to replace class with ID in this case, is it working?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 10:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/530987#M149999</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-26T10:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531003#M150005</link>
      <description>&lt;P&gt;no error in the console&lt;/P&gt;&lt;P&gt;the other css file that works is like this :&lt;/P&gt;&lt;P&gt;in the xml :&lt;/P&gt;&lt;P&gt;&amp;lt;single id="online"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the css file :&lt;/P&gt;&lt;P&gt;#online .single-result {&lt;BR /&gt;fill: green!important;&lt;BR /&gt;font-size: 30px !important;&lt;BR /&gt;font-style:;&lt;BR /&gt;font-family:Arial;!important;&lt;BR /&gt;vertical-align:middle;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 12:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531003#M150005</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-26T12:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531128#M150045</link>
      <description>&lt;P&gt;Hi, is this working for you?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard stylesheet="myfile.css"&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;h1 id="my_header"&amp;gt;DEVICE&amp;lt;/h1&amp;gt;
   &amp;lt;/html&amp;gt;
 &amp;lt;/row&amp;gt;
 &amp;lt;row&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;p id="my_para"&amp;gt;abcdefg..... &amp;lt;/p&amp;gt;
   &amp;lt;/html&amp;gt;
 &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myfile.css:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;h1#my_header 
{
   background: #848484 !important;
}
p#my_para 
{
   background: #848484 !important;
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Also, these may help you out:&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-js-css-Issue/m-p/154746" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-js-css-Issue/m-p/154746&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/js-and-css-scripts-not-working-for-Splunk-Dashboard/m-p/411691" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/js-and-css-scripts-not-working-for-Splunk-Dashboard/m-p/411691&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37235" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37235&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 10:49:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531128#M150045</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-27T10:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531174#M150060</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;No, i have just a grey background like a span and not a real background&lt;/P&gt;&lt;P&gt;I add a piece of code for changing the police size and nothing change!!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 14:53:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531174#M150060</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-11-27T14:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help on xml formatting with css</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531508#M150124</link>
      <description>&lt;P&gt;Is anybody can't help?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 12:38:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-on-xml-formatting-with-css/m-p/531508#M150124</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-12-01T12:38:28Z</dc:date>
    </item>
  </channel>
</rss>

