<?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 ExB Developer - apply custom color to Pop-up menu element in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340201#M8856</link>
    <description>&lt;P&gt;When a user clicks a spot with overlapping features, the pop-up panel that is triggered displays on the right-corner a 'feature-menu-button' and R/L arrows, indicating how many features overlap and prompting the user to click through to view their details.&lt;/P&gt;&lt;P&gt;I am using Experience Builder Developer 1.12.&lt;/P&gt;&lt;P&gt;I want to change the background-color of the 'esri-popup__feature-menu-button' to cyan to draw the user's eye to ensure overlapping features aren't overlooked. I think I can do this by creating a custom theme and adding a style.ts as described in this &lt;A href="https://developers.arcgis.com/experience-builder/sample-code/themes/demo-theme/" target="_self"&gt;Sample Code&lt;/A&gt;, but I don't know where to find and identify the elements. Where do I begin?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hashimotoy2_0-1697831288663.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83628iC324BA0D90066643/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hashimotoy2_0-1697831288663.png" alt="hashimotoy2_0-1697831288663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The demo screenshot was made to the HTML page by adding&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hashimotoy2_1-1697833299129.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83630i9FBAA15BE9482830/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hashimotoy2_1-1697833299129.png" alt="hashimotoy2_1-1697833299129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 20:29:55 GMT</pubDate>
    <dc:creator>Yuriko</dc:creator>
    <dc:date>2023-10-20T20:29:55Z</dc:date>
    <item>
      <title>ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340201#M8856</link>
      <description>&lt;P&gt;When a user clicks a spot with overlapping features, the pop-up panel that is triggered displays on the right-corner a 'feature-menu-button' and R/L arrows, indicating how many features overlap and prompting the user to click through to view their details.&lt;/P&gt;&lt;P&gt;I am using Experience Builder Developer 1.12.&lt;/P&gt;&lt;P&gt;I want to change the background-color of the 'esri-popup__feature-menu-button' to cyan to draw the user's eye to ensure overlapping features aren't overlooked. I think I can do this by creating a custom theme and adding a style.ts as described in this &lt;A href="https://developers.arcgis.com/experience-builder/sample-code/themes/demo-theme/" target="_self"&gt;Sample Code&lt;/A&gt;, but I don't know where to find and identify the elements. Where do I begin?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hashimotoy2_0-1697831288663.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83628iC324BA0D90066643/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hashimotoy2_0-1697831288663.png" alt="hashimotoy2_0-1697831288663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The demo screenshot was made to the HTML page by adding&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hashimotoy2_1-1697833299129.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83630i9FBAA15BE9482830/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hashimotoy2_1-1697833299129.png" alt="hashimotoy2_1-1697833299129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 20:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340201#M8856</guid>
      <dc:creator>Yuriko</dc:creator>
      <dc:date>2023-10-20T20:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340204#M8857</link>
      <description>&lt;P&gt;You have answered your own question. Just add the css you want to the class you have already identified. You may need to add the !important tag to your changes.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 20:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340204#M8857</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-10-20T20:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340220#M8859</link>
      <description>&lt;P&gt;Thanks for your quick response&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;! But I'm at a loss as to how to first find the element class I want to apply the change to so I can properly identify it in the custom 'style.ts'. I am new to ExB Dev and don't understand the project structure in any detail. Can you provide a some guidance or point me to documentation that could enlighten me? In the meantime I'll dive into the &lt;A href="https://developers.arcgis.com/experience-builder/" target="_self"&gt;ExB Developer documentation.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PS I just heard back from technical support and in addition to the guidance I've already linked above they shared the following:&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;You can follow the steps in the &lt;A href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fexperience-builder%2Fguide%2Ftheme-development%2F&amp;amp;data=05%7C01%7CYuriko.Hashimoto%40dfo-mpo.gc.ca%7C91b0360e7b0c4137bedd08dbd1c0dc1a%7C1594fdaea1d94405915d011467234338%7C0%7C0%7C638334398495942000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=hrU7xUJ5L816bh9eGl1ay3HtG8%2BjBouxihU1VDDMqY0%3D&amp;amp;reserved=0" target="_blank"&gt;guide for building a custom theme for Experience Builder&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;Also, you can see the full &lt;A href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fexperience-builder%2Fsample-code%2Fthemes%2Fdemo-theme%2F&amp;amp;data=05%7C01%7CYuriko.Hashimoto%40dfo-mpo.gc.ca%7C91b0360e7b0c4137bedd08dbd1c0dc1a%7C1594fdaea1d94405915d011467234338%7C0%7C0%7C638334398495942000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=HKrlBU%2BCmgzoz0iew6u7xsr19oBPjcLOPzChU%2FKN6os%3D&amp;amp;reserved=0" target="_blank"&gt;theme variable JSON&lt;/A&gt; from the demo theme, for changing theme variables of existing themes.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;Or, you can &lt;A href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fexperience-builder%2Fguide%2Ftheme-development%2F%23how-to-create-a-theme&amp;amp;data=05%7C01%7CYuriko.Hashimoto%40dfo-mpo.gc.ca%7C91b0360e7b0c4137bedd08dbd1c0dc1a%7C1594fdaea1d94405915d011467234338%7C0%7C0%7C638334398495942000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=TQN0kPkWPRGKfmrr1J6g%2FryNjIzCZUNdcudnj38w%2FM8%3D&amp;amp;reserved=0" target="_blank"&gt;create a new theme&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;You can also inspect the &lt;A href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fexperience-builder%2Fsample-code%2Fthemes%2Fdemo-theme%2F&amp;amp;data=05%7C01%7CYuriko.Hashimoto%40dfo-mpo.gc.ca%7C91b0360e7b0c4137bedd08dbd1c0dc1a%7C1594fdaea1d94405915d011467234338%7C0%7C0%7C638334398496098249%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=ChMtgK9CASQoyWNKqKsv%2FbyFQLE%2B2MAgsNA9xD5pnYw%3D&amp;amp;reserved=0" target="_blank"&gt;sample theme&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I'll report back once I've solved this!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 23:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340220#M8859</guid>
      <dc:creator>Yuriko</dc:creator>
      <dc:date>2023-10-20T23:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340427#M8863</link>
      <description>&lt;P&gt;&lt;A href="https://www.w3schools.com/css/css_selectors.asp" target="_blank" rel="noopener"&gt;https://www.w3schools.com/css/css_selectors.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have already found the class name of the item you wish to change '&lt;SPAN&gt;esri-popup__feature-menu-button', so in style.scss add:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-popup__feature-menu-button {
    background-color: cyan;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may need to use:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-popup__feature-menu-button {
    background-color: cyan !important;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Oct 2023 12:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340427#M8863</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2023-10-23T12:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340700#M8871</link>
      <description>&lt;P&gt;Thank you so much,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;! Going the route of adding the 'style.scss' was very straightforward!&lt;/P&gt;&lt;P&gt;I will leave the css-in-js approach to a rainy day. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 21:25:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1340700#M8871</guid>
      <dc:creator>Yuriko</dc:creator>
      <dc:date>2023-10-23T21:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1360950#M9904</link>
      <description>&lt;P&gt;Note, in ExB Dev v1.13 there is extensive application of the Calcite Design Framework that encapsulates a lot of the UI elements which improves the integration but also makes it more challenging to access specific elements. e.g. the above solution doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1360950#M9904</guid>
      <dc:creator>Yuriko</dc:creator>
      <dc:date>2023-12-14T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1392018#M11407</link>
      <description>&lt;P&gt;Any luck getting custom style overrides to work on ExB Dev 1.13?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 13:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1392018#M11407</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2024-06-19T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: ExB Developer - apply custom color to Pop-up menu element</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1494911#M13227</link>
      <description>&lt;P&gt;I had edited my original post, but wasn't sure if it would alert you of the edit.&amp;nbsp; Updating in a new post here instead.&lt;/P&gt;&lt;P&gt;I had success using a style.scss file in a custom theme to achieve this.&amp;nbsp; The concept is to overwrite the appropriate --calcite-color value on the closest targetable parent element.&amp;nbsp; It is a limited method, as there may be occasions where changing the closest targetable parent will undesirably change multiple elements.&amp;nbsp; Also, it does not target specific attributes inside the shadow-root.&lt;/P&gt;&lt;P&gt;In this example the "Select feature" button is using --calcite-color-foreground-1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-features__footer calcite-action[title='Select feature'] {
    --calcite-color-foreground-1: cyan !important;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 13:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/exb-developer-apply-custom-color-to-pop-up-menu/m-p/1494911#M13227</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2024-06-19T13:25:16Z</dc:date>
    </item>
  </channel>
</rss>

