<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to create my own theme for HTML user dialogs?</title><link>https://answers.axonivy.com/questions/12/how-to-create-my-own-theme-for-html-user-dialogs</link><description>&lt;p&gt;I need a customized theme for my company and/or I do not like the default themes. How can I easily create my own theme?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/12/how-to-create-my-own-theme-for-html-user-dialogs" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 07 Oct 2013 14:21:14 -0400</lastBuildDate><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/12/how-to-create-my-own-theme-for-html-user-dialogs/13</link><description>&lt;p&gt;&lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; offers a convenient and nice tool called &lt;a href="http://jqueryui.com/themeroller/"&gt;ThemeRoller&lt;/a&gt; to create themes for JSF. Go there and create your own theme. When you are done, download the theme and unpack the zip file. You have to perform some manual changes, before you can use the theme: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Please navigate to the directory &lt;em&gt;css/NameOfYourTheme&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;Delete the file &lt;em&gt;jquery-ui-1.9.2.custom.min.css&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Rename the file &lt;em&gt;jquery-ui-1.9.2.custom.css&lt;/em&gt; into &lt;em&gt;theme.css&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;Open the just renamed file &lt;em&gt;theme.css&lt;/em&gt; and adapt the URL to images from &lt;code&gt;url(images/myPicture.png)&lt;/code&gt; into this pattern &lt;code&gt;url("#{resource['NameOfYourTheme:images/myPicture.png']}")&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Create the folder structure &lt;em&gt;META-INF/resources/NameOfYourTheme&lt;/em&gt; and copy &lt;em&gt;theme.css&lt;/em&gt; and the &lt;em&gt;images&lt;/em&gt; folder in there&lt;/li&gt;
&lt;li&gt;Zip the folder and rename the zip file into NameOfYourTheme.jar&lt;/li&gt;
&lt;li&gt;Add the theme to Ivy. Please read the chapter &lt;em&gt;User Dialogs/Html Dialogs/Themes&lt;/em&gt; in the Designer guide for how to install a theme into Xpert.ivy.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br&gt;
&lt;br&gt;
Note: This question and answer was &lt;a href="http://blog.xpertivyhacker.ch/2012/11/xpertivy-primefaces-themes-installieren-und-erstellen.html"&gt;originally posted&lt;/a&gt; by Heinrich Spreiter on his &lt;a href="http://blog.xpertivyhacker.ch/"&gt;Xpert.ivy Hacker blog&lt;/a&gt;. Many thanks to Henry for his enthusiastic work. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Mon, 07 Oct 2013 14:21:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/12/how-to-create-my-own-theme-for-html-user-dialogs/13</guid></item></channel></rss>