{"id":4099,"date":"2017-01-27T08:13:36","date_gmt":"2017-01-27T08:13:36","guid":{"rendered":"http:\/\/demo.agnidesigns.com\/fortune\/documentation\/?p=4099"},"modified":"2017-07-24T07:16:00","modified_gmt":"2017-07-24T07:16:00","slug":"custom-coding","status":"publish","type":"page","link":"https:\/\/demo.agnihd.com\/milton\/documentation\/custom-coding\/","title":{"rendered":"Custom Coding"},"content":{"rendered":"<p>[vc_row fullwidth=&#8221;has-fullwidth-column-no-padding&#8221; el_id=&#8221;custom-coding&#8221; el_class=&#8221;custom-coding&#8221;][vc_column][vc_column_text]In some occasions, you may want to add your own css styles &amp; scripts to your page\/site. So that fortun includes the option\u00a0to add the custom codes. You can add your custom codes at\u00a0<strong>Milton\/Theme Options\/Custom coding<\/strong>[\/vc_column_text][vc_custom_heading text=&#8221;CSS Code&#8221; font_container=&#8221;tag:h5|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]This is an ACE editor and automatically validates css code, also\u00a0it\u00a0highlights the selectors &amp; styles with unique color code for easy use. For reference, a\u00a0simple\u00a0example of css style is included in the editor. You can add your code below to the existing css.[\/vc_column_text][vc_custom_heading text=&#8221;JS Code&#8221; font_container=&#8221;tag:h5|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]This also is an ACE editor but it validates js code. you should\u00a0place your jquery scripts inside the <em>ready<\/em> function.[\/vc_column_text]<div class=\" agni-image custom-image-container text-left\">\r\n\t\t\t<figure class=\"agni-image-figure\">\r\n\t\t\t\t<a href=\"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding.jpg\" class=\"custom-image\" target=\"_self\"><img  width=\"1310\" height=\"741\" src=\"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding.jpg\" class=\"fullwidth-image attachment-full  attachment-full\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding.jpg 1310w, https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding-300x170.jpg 300w, https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding-768x434.jpg 768w, https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding-1024x579.jpg 1024w, https:\/\/demo.agnihd.com\/milton\/documentation\/wp-content\/uploads\/sites\/17\/2017\/01\/custom_coding-960x543.jpg 960w\" sizes=\"(max-width: 1310px) 100vw, 1310px\" \/><\/a>\r\n\t\t\t\t<figcaption class=\"vc_figure-caption\"><\/figcaption>\r\n\t\t\t<\/figure>\r\n\t\t<\/div>[\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In some occasions, you may want to add your own css styles &amp; scripts to your page\/site. So that fortun includes the option to add the custom codes. You can add your custom codes at Fortun\/Theme Options\/Custom coding<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4099"}],"collection":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/comments?post=4099"}],"version-history":[{"count":3,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4099\/revisions"}],"predecessor-version":[{"id":4517,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4099\/revisions\/4517"}],"wp:attachment":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/media?parent=4099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}