<?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: Map Tour Custom CSS Best Practices in Classic Esri Story Maps Questions</title>
    <link>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294828#M3288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not need to use !important for all your override.&lt;/P&gt;&lt;P&gt;This must be because your stylesheet is loaded before the app stylesheet.&lt;/P&gt;&lt;P&gt;One way is to put your stylesheet in index.html as documented at &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#customize-the-look-and-feel" title="https://github.com/Esri/map-tour-storytelling-template-js#customize-the-look-and-feel"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or you can use the loadCSS function after that point &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide" title="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't recommend unminifying the CSS, if you want to edit the source code of the application, follow the following guide &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide" title="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt;&amp;nbsp; but I like better doing override in index.html or separate CSS, it makes it easier to upgrade the application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 21:13:23 GMT</pubDate>
    <dc:creator>GregoryL_Azou</dc:creator>
    <dc:date>2016-02-09T21:13:23Z</dc:date>
    <item>
      <title>Map Tour Custom CSS Best Practices</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294827#M3287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to get input on the best way to customize a self-hosted map tour.&amp;nbsp; The application includes a minified stylesheet.&amp;nbsp; I've added a custom stylesheet that relies on the use of !important to override the default stylesheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am well aware this is a bad practice.&amp;nbsp; However, whenever I've copied the minified code into a un-minifyer, there is no semi-colon after the last property setting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to manually add-in all those semi-colons just so I can use the standard stylesheet and avoid the !important trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to accomplish this? I am using Komodo Edit as my text editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 20:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294827#M3287</guid>
      <dc:creator>PatrickMcKinney1</dc:creator>
      <dc:date>2016-02-09T20:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Map Tour Custom CSS Best Practices</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294828#M3288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not need to use !important for all your override.&lt;/P&gt;&lt;P&gt;This must be because your stylesheet is loaded before the app stylesheet.&lt;/P&gt;&lt;P&gt;One way is to put your stylesheet in index.html as documented at &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#customize-the-look-and-feel" title="https://github.com/Esri/map-tour-storytelling-template-js#customize-the-look-and-feel"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or you can use the loadCSS function after that point &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide" title="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't recommend unminifying the CSS, if you want to edit the source code of the application, follow the following guide &lt;A href="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide" title="https://github.com/Esri/map-tour-storytelling-template-js#developer-guide"&gt;GitHub - Esri/map-tour-storytelling-template-js: The Story Map Tour is ideal when you want to present a linear, place-ba…&lt;/A&gt;&amp;nbsp; but I like better doing override in index.html or separate CSS, it makes it easier to upgrade the application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294828#M3288</guid>
      <dc:creator>GregoryL_Azou</dc:creator>
      <dc:date>2016-02-09T21:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Map Tour Custom CSS Best Practices</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294829#M3289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info Gregory.&amp;nbsp; I ended up using the loadCSS function.&amp;nbsp; I also realized some of my selectors were not specific enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to improve some story maps I developed when I was less skilled with front-end languages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/map-tour-custom-css-best-practices/m-p/294829#M3289</guid>
      <dc:creator>PatrickMcKinney1</dc:creator>
      <dc:date>2016-02-12T15:58:51Z</dc:date>
    </item>
  </channel>
</rss>

