{"id":62119,"date":"2016-02-17T04:55:44","date_gmt":"2016-02-17T09:55:44","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=62119"},"modified":"2017-07-11T09:04:49","modified_gmt":"2017-07-11T13:04:49","slug":"joomla-3-x-how-to-add-one-more-color-scheme-in-tm-ajax-style-switcher-module","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-3-x-how-to-add-one-more-color-scheme-in-tm-ajax-style-switcher-module.html","title":{"rendered":"Joomla 3.x. How to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module"},"content":{"rendered":"<p>\r\n<p>This tutorial provides a description of how to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module in Joomla 3.x.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=TJaSoNdUFYI?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module<\/a><\/p>\r\n<p>In order to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module, you should do the following:<\/p>\r\n<ol>\r\n<li>\r\n<p>Open and edit <strong>template.css<\/strong> file in <strong>templates\\themeXXXX\\css\\<\/strong> directory (XXXX stands for your theme id).<\/p>\r\n<\/li>\r\n<li>\r\n<p>Add one more scheme based on the existing one. That means we are going to copy the following CSS rule:<\/p>\r\n<pre class=\"brush:css\">\r\n\t\t#style_switcher div.color_scheme.color_scheme_4 {\r\n  \t\t\tbackground: #f4d03f;\r\n\t\t}\r\n\t<\/pre>\r\n<p>and modify it as follows:<\/p>\r\n<pre class=\"brush:css\">\r\n\t\t#style_switcher div.color_scheme.color_scheme_5 {\r\n\t\t\tbackground: #000;\r\n\t\t}\r\n\t<\/pre>\r\n<p>As you can see, we have changed the number <strong>4<\/strong> to the number <strong>5<\/strong> in the selector, which basically &#8216;selects&#8217; \/ applies the rule to our new scheme. We have also changed the background color to <strong>#000<\/strong> (black as an example):\r\n\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module-300x169.jpg\" alt=\"Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-62122\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Go to <strong>templates\\themeXXXX\\css\\color_schemes<\/strong> directory, make a copy of <strong>color_scheme_1.css<\/strong> file (or any other one which has a name color_scheme_X) and rename it to <strong>color_scheme_5.css<\/strong>, respectively:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2-300x169.jpg\" alt=\"Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-62123\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Change the colors in <strong>color_scheme_5.css<\/strong> and upload it again. For example, you can replace all <strong>#7ecefd<\/strong> values with <strong>#000<\/strong> using <strong>CTRL+H<\/strong> replacement tool. Note that there are more colors than that:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3-300x169.jpg\" alt=\"Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-62124\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Check out the outcome:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4-300x169.jpg\" alt=\"Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-62125\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/Joomla_3.x._How_to_add_one_more_color_scheme_in_TM_Ajax_Style_Switcher_module4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=TJaSoNdUFYI?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla 3.x. How to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module<\/a><\/p>\r\n\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This tutorial provides a description of how to add one more color scheme in &#8220;TM Ajax Style Switcher&#8221; module in Joomla 3.x.<\/p>\n","protected":false},"author":94,"featured_media":62127,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[1281,520,483,557,641,517,1993],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/62119"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=62119"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/62119\/revisions"}],"predecessor-version":[{"id":81865,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/62119\/revisions\/81865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/62127"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=62119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=62119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=62119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}