<?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>question Widget Styles Missing after Clone in Employee Slate and Employee Center forum</title>
    <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244890#M1026</link>
    <description>&lt;P&gt;I&amp;nbsp; cloned the My Requests V2 widget but I noticed the widget style is now different than the original My Requests Widget.&lt;/P&gt;
&lt;P&gt;When I inspect the page to compare the original widget vs the cloned one I notice there are unique styles applied to the original widget like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="selector" aria-label="CSS selector"&gt;&lt;SPAN class="simple-selector selector-matches"&gt;&lt;SPAN style="background-color: #fbeeb8;"&gt;.v8cc0df25875023000f220cf888cb0bb5&lt;/SPAN&gt; .panel.b .panel-heading .panel-title&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt; {&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="styles-section-title styles-selector"&gt;
&lt;DIV&gt;&lt;SPAN class="webkit-css-property" aria-label="CSS property name: font-size"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-size&lt;/SPAN&gt;&lt;SPAN class="styles-name-value-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value" aria-label="CSS property value: 2.4rem"&gt;2.4rem&lt;/SPAN&gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&lt;SPAN class="webkit-css-property" aria-label="CSS property name: font-weight"&gt;ont-weight&lt;/SPAN&gt;&lt;SPAN class="styles-name-value-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value" aria-label="CSS property value: 600"&gt;600&lt;/SPAN&gt;;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;}&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;Below is an image showing you both widgets on the page. The top is the cloned version. Notice padding issues, font size, etc.&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/5165i8148F71FCF5129F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;How can I go about getting these styles added to the cloned widget? Why didn't they copy over? Where are they?&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;Thank you!&lt;BR /&gt;Jesse&lt;/DIV&gt;</description>
    <pubDate>Thu, 07 Jul 2022 16:27:24 GMT</pubDate>
    <dc:creator>Jesse_H</dc:creator>
    <dc:date>2022-07-07T16:27:24Z</dc:date>
    <item>
      <title>Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244890#M1026</link>
      <description>&lt;P&gt;I&amp;nbsp; cloned the My Requests V2 widget but I noticed the widget style is now different than the original My Requests Widget.&lt;/P&gt;
&lt;P&gt;When I inspect the page to compare the original widget vs the cloned one I notice there are unique styles applied to the original widget like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="selector" aria-label="CSS selector"&gt;&lt;SPAN class="simple-selector selector-matches"&gt;&lt;SPAN style="background-color: #fbeeb8;"&gt;.v8cc0df25875023000f220cf888cb0bb5&lt;/SPAN&gt; .panel.b .panel-heading .panel-title&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sidebar-pane-open-brace"&gt; {&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="styles-section-title styles-selector"&gt;
&lt;DIV&gt;&lt;SPAN class="webkit-css-property" aria-label="CSS property name: font-size"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-size&lt;/SPAN&gt;&lt;SPAN class="styles-name-value-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value" aria-label="CSS property value: 2.4rem"&gt;2.4rem&lt;/SPAN&gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f&lt;SPAN class="webkit-css-property" aria-label="CSS property name: font-weight"&gt;ont-weight&lt;/SPAN&gt;&lt;SPAN class="styles-name-value-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value" aria-label="CSS property value: 600"&gt;600&lt;/SPAN&gt;;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;}&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;Below is an image showing you both widgets on the page. The top is the cloned version. Notice padding issues, font size, etc.&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/5165i8148F71FCF5129F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;How can I go about getting these styles added to the cloned widget? Why didn't they copy over? Where are they?&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sidebar-pane-closing-brace"&gt;Thank you!&lt;BR /&gt;Jesse&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:27:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244890#M1026</guid>
      <dc:creator>Jesse_H</dc:creator>
      <dc:date>2022-07-07T16:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244891#M1027</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;When you cloned the widget it will only clone the widget and the widget CSS but there might be CSS at the page level as well&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please go to the page where this widget is located and check if there is any css in PAGE SPECIFIC CSS&amp;nbsp; field and also check is there any CSS in instance that is holding this widget&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;please accept this solution if it works for you&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:37:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244891#M1027</guid>
      <dc:creator>Mohith Devatte</dc:creator>
      <dc:date>2022-07-07T16:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244892#M1028</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for the prompt reply. There are no page or instance-specific styles.&lt;/P&gt;
&lt;P&gt;Page:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/5161iACC08C58282364D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Widget Instance:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/5160i13093326F28FB825/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:42:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244892#M1028</guid>
      <dc:creator>Jesse_H</dc:creator>
      <dc:date>2022-07-07T16:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244893#M1029</link>
      <description>&lt;P&gt;If not may be it might been missed .&lt;/P&gt;
&lt;P&gt;Lets do one thing in your page specific CSS for your new page please copy paste the CSS what you have pasted above and try reloading the portal .&lt;/P&gt;
&lt;P&gt;It might apply the css&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:46:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244893#M1029</guid>
      <dc:creator>Mohith Devatte</dc:creator>
      <dc:date>2022-07-07T16:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244894#M1030</link>
      <description>&lt;P&gt;The page wasn't copied. I think there is a CSS Include from the EC Theme that is using a unique class assigned to the OOB widget to style it further vs applying styles more broadly so they can be reused.&lt;/P&gt;
&lt;P&gt;I will use dev tools to find unique styles, remove the unique class/id reference and apply these styles directly to the cloned widget.&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 17:26:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/244894#M1030</guid>
      <dc:creator>Jesse_H</dc:creator>
      <dc:date>2022-07-07T17:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2742788#M6161</link>
      <description>&lt;P&gt;Hi Jesse_H&lt;BR /&gt;I am facing the same issue. Can you please tell what have you done to fix the padding issue on the cloned widget.&lt;BR /&gt;TIA&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:18:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2742788#M6161</guid>
      <dc:creator>Akash_Yadav</dc:creator>
      <dc:date>2023-11-24T10:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2744703#M6176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/450137"&gt;@Akash_Yadav&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I copied the OOB CSS from the EC Theme that didn't transfer over when I cloned.&lt;BR /&gt;&lt;BR /&gt;1. Go to your cloned My Requests Widget&lt;/P&gt;&lt;P&gt;2. Paste this at the end of the CSS code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;/** Replicate OOB styles from EC Theme that didn't xfer over **/

.panel.b .panels-container &amp;gt; .list-group-item.row {
padding: 1.6rem 0 2.4rem;
margin: 0 -16px !important;
}
.panel.b .panel-heading {
background: none;
border-bottom: none;
}
.panel.b .panels-container {
text-align: center;
padding: 0 2.4rem 2.4rem;
}
.panel.b .panels-container &amp;gt; .list-group-item.row {
padding: 1.6rem 0 2.4rem;
margin: 0 -16px !important;
}
.panel.b .panel-heading .panel-title {
font-size: 2.4rem;
font-weight: 600;
}
.panel.b .panels-container.list-group {
text-align: left;
}
.primary-display {
font-size: 1.6rem;
line-height: 1.1;
margin-bottom: 0.4rem;
font-weight: 600;
}
.panel.b .panels-container &amp;gt; .table .list-group-item {
display: flex;
align-items: center;
border: 0.1rem solid #DADDE2;
border-bottom: none;
padding: 1.6rem 2.4rem;
}
.panel.b .panels-container &amp;gt; .table .list-group-item:last-of-type {
border-bottom: 0.1rem solid #DADDE2;
}
.panel.b .panels-container &amp;gt; .list-group-item.row .control-view label {
margin-right: 0.8rem;
}
.control-view {
display: flex;
}
.panel.b .panels-container &amp;gt; .list-group-item.row &amp;gt; div.m-b-sm {
padding-right: 0;
margin-bottom: 0.8rem !important;
}
.panel.b .panels-container &amp;gt; .list-group-item.row {
padding: 1.6rem 0 2.4rem;
margin: 0 -16px !important;
}
.panel .requests-header-container .fit-content {
min-width: fit-content;
}
.panel.b .panels-container &amp;gt; .table {
margin-bottom: 0;
}
.secondary-display {
font-size: 1.2rem;
color: #181A1F;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Nov 2023 15:09:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2744703#M6176</guid>
      <dc:creator>Jesse_H</dc:creator>
      <dc:date>2023-11-27T15:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Widget Styles Missing after Clone</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2744720#M6177</link>
      <description>&lt;P&gt;Thanks for the prompt reply.&lt;BR /&gt;This thing worked.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 15:35:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-styles-missing-after-clone/m-p/2744720#M6177</guid>
      <dc:creator>Akash_Yadav</dc:creator>
      <dc:date>2023-11-27T15:35:10Z</dc:date>
    </item>
  </channel>
</rss>

