<?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 Qlik Themes - CSS Styling of Object Title (Straight &amp;amp; Pivot table renders differently) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Themes-CSS-Styling-of-Object-Title-Straight-amp-Pivot-table/m-p/1909763#M74974</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have custom themes on our Qlik Saas tenant built by myself.&amp;nbsp; I'm not wizz at CSS but know some basics and making use of the community has helped me build a theme for our company.&amp;nbsp; When i apply it, the rendering of the Objects Title for a Straight or Pivot table is indented at the left hand side, see below.&amp;nbsp; All other objects the title width and background colour fits the full length of the object and i dont understand why nor can i correct it.&amp;nbsp; Is it the build of those objects within Qlik itself that prevents this or something in my code?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Theme - Table Titles.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75326i9801441C8254EC42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Theme - Table Titles.png" alt="Qlik Theme - Table Titles.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sample of the CSS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;:root {
  --colour1: 		#1976D2;
  --colour2:		#F4792C;
  --image: 			url(images/logo.png);
  --white: 			#FFFFFF;
  --black: 			#000000;
  --grey:			#B3B4B2;	
}

/* Sheet*/
.qvt-sheet {background: var(--white) !important;}
	
/* Document border*/
.qv-panel-stage .flex-row {background-color: var(--colour2);}
.qv-panel-sheet {border-radius: 3px; margin: 5px;}

/*qv-object*/
.qv-object .qv-object-title{background-color: var(--colour1); margin-top: 5px}
.qv-object .qv-object-title-text{margin-left:auto; margin-right:auto; color: var(--white);}


/* Sheet Titles */
.qv-panel-sheet .sheet-title-container {background: linear-gradient(to right, var(--colour1), var(--white));}
.qv-panel-sheet .sheet-title-text {background-image: var(--image); background-repeat: no-repeat; background-size: contain; background-position: right;}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 18:05:09 GMT</pubDate>
    <dc:creator>jmcy2408</dc:creator>
    <dc:date>2022-03-25T18:05:09Z</dc:date>
    <item>
      <title>Qlik Themes - CSS Styling of Object Title (Straight &amp; Pivot table renders differently)</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Themes-CSS-Styling-of-Object-Title-Straight-amp-Pivot-table/m-p/1909763#M74974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have custom themes on our Qlik Saas tenant built by myself.&amp;nbsp; I'm not wizz at CSS but know some basics and making use of the community has helped me build a theme for our company.&amp;nbsp; When i apply it, the rendering of the Objects Title for a Straight or Pivot table is indented at the left hand side, see below.&amp;nbsp; All other objects the title width and background colour fits the full length of the object and i dont understand why nor can i correct it.&amp;nbsp; Is it the build of those objects within Qlik itself that prevents this or something in my code?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Theme - Table Titles.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75326i9801441C8254EC42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Theme - Table Titles.png" alt="Qlik Theme - Table Titles.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Sample of the CSS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;:root {
  --colour1: 		#1976D2;
  --colour2:		#F4792C;
  --image: 			url(images/logo.png);
  --white: 			#FFFFFF;
  --black: 			#000000;
  --grey:			#B3B4B2;	
}

/* Sheet*/
.qvt-sheet {background: var(--white) !important;}
	
/* Document border*/
.qv-panel-stage .flex-row {background-color: var(--colour2);}
.qv-panel-sheet {border-radius: 3px; margin: 5px;}

/*qv-object*/
.qv-object .qv-object-title{background-color: var(--colour1); margin-top: 5px}
.qv-object .qv-object-title-text{margin-left:auto; margin-right:auto; color: var(--white);}


/* Sheet Titles */
.qv-panel-sheet .sheet-title-container {background: linear-gradient(to right, var(--colour1), var(--white));}
.qv-panel-sheet .sheet-title-text {background-image: var(--image); background-repeat: no-repeat; background-size: contain; background-position: right;}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 18:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Themes-CSS-Styling-of-Object-Title-Straight-amp-Pivot-table/m-p/1909763#M74974</guid>
      <dc:creator>jmcy2408</dc:creator>
      <dc:date>2022-03-25T18:05:09Z</dc:date>
    </item>
  </channel>
</rss>

