<?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 unable to customize css in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42701#M2042</link>
    <description>&lt;P&gt;I'm following the instruction here to inject my own css in my adv. xml.&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseCSS#Configure_CSS_for_a_view"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseCSS#Configure_CSS_for_a_view&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so my css lives in search/appserver/static.&lt;/P&gt;

&lt;P&gt;But the view is still using the styles in application.css.  am  i missing something? &lt;/P&gt;

&lt;P&gt;here's a snippet of  my xml&lt;/P&gt;

&lt;P&gt;&amp;lt; view autoCancelInterval="90" isVisible="true" objectMode="SimpleDashboard" onunloadCancelJobs="true" refresh="-1" template="dashboard.html" stylesheet="portal-splunk.css" &amp;gt;&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 03 May 2012 14:39:33 GMT</pubDate>
    <dc:creator>sou128</dc:creator>
    <dc:date>2012-05-03T14:39:33Z</dc:date>
    <item>
      <title>unable to customize css</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42701#M2042</link>
      <description>&lt;P&gt;I'm following the instruction here to inject my own css in my adv. xml.&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseCSS#Configure_CSS_for_a_view"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseCSS#Configure_CSS_for_a_view&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so my css lives in search/appserver/static.&lt;/P&gt;

&lt;P&gt;But the view is still using the styles in application.css.  am  i missing something? &lt;/P&gt;

&lt;P&gt;here's a snippet of  my xml&lt;/P&gt;

&lt;P&gt;&amp;lt; view autoCancelInterval="90" isVisible="true" objectMode="SimpleDashboard" onunloadCancelJobs="true" refresh="-1" template="dashboard.html" stylesheet="portal-splunk.css" &amp;gt;&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 14:39:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42701#M2042</guid>
      <dc:creator>sou128</dc:creator>
      <dc:date>2012-05-03T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to customize css</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42702#M2043</link>
      <description>&lt;P&gt;What you want to do is edit application.css directly. Don't worry about including the stylesheet tag like that.&lt;BR /&gt;
Anything you do in application.css in the appserver/static directory will override any default CSS settings across the APP.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 17:11:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42702#M2043</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-05-03T17:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: unable to customize css</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42703#M2044</link>
      <description>&lt;P&gt;I just want to modify my view, how can I do that?&lt;BR /&gt;
Modifying application.css will affect other teams' views as well, right?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 17:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42703#M2044</guid>
      <dc:creator>sou128</dc:creator>
      <dc:date>2012-05-04T17:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: unable to customize css</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42704#M2045</link>
      <description>&lt;P&gt;I have done it and it works well, The problem is that you have to set the properties as !important in the "myCustom.css" file.&lt;/P&gt;

&lt;P&gt;Some pitfalls:&lt;/P&gt;

&lt;P&gt;1°) Be sure to create the "myCustom.css" file and then restart splunk web so it can pick it up&lt;BR /&gt;
2°) sometimes css properties aren't overrided by the custom css (don't know why), just add the !important tag at the end of the property.&lt;BR /&gt;
3°) Sometimes even after a refresh the page isn't updated, don't hesitate to &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.1.5/Developer/CustomizationOptions#Useful_URIs_for_customization"&gt;bump&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 18:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42704#M2045</guid>
      <dc:creator>guilhem</dc:creator>
      <dc:date>2012-11-28T18:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: unable to customize css</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42705#M2046</link>
      <description>&lt;P&gt;CSS is applied in the order it is read in, some of the HTML in Splunk isn't very well formed and has styling applied in the tags or on the page itself so these require the !important tag as this forces the browser to ignore the order of loading. To avoid bumping just use CTRL+F5 to reload the browser cache&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 18:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unable-to-customize-css/m-p/42705#M2046</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-11-28T18:08:52Z</dc:date>
    </item>
  </channel>
</rss>

