{"id":6267,"date":"2020-02-12T14:00:36","date_gmt":"2020-02-12T14:00:36","guid":{"rendered":"https:\/\/www.samlogic.net\/blog\/?p=6267"},"modified":"2020-02-17T18:21:48","modified_gmt":"2020-02-17T18:21:48","slug":"you-can-now-set-an-absolute-position-for-a-title","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2020\/02\/you-can-now-set-an-absolute-position-for-a-title\/","title":{"rendered":"You can now set an absolute position for a title"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/www.samlogic.net\/pad\/icons\/cd_menu_creator.gif\" alt=\"\" border=\"0\" \/>You can now in <a href=\"https:\/\/www.samlogic.net\/cd-menu-creator\/cd-menu-creator.htm\" target=\"_blank\" rel=\"noopener noreferrer\">CD-Menu Creator<\/a> set an absolute position for a title, subtitle and button group title. In the latest update of CD-Menu Creator we have added this functionality.<\/p>\n<p>Normally the X and Y position of a title, subtitle and button group titles are set automatically by CD-Menu Creator. But now you can set the coordinates for these objects manually. This is useful if you really want to have total control of these objects&#8217; positions in a menu window.<\/p>\n<p><span style=\"font-size: 18px; color: #000080;\"><strong>How to set coordinates<\/strong><\/span><br \/>\nTo set coordinates for a title, subtitle and button group titles, you can add a prefix before the actual title text. The syntax is the following:<\/p>\n<p><strong>[X,Y] My Title<\/strong><\/p>\n<p>Where X specifies the X position of the title and Y specifies the Y position of the title (in pixels). Below is an example where X and Y has been replaced with numerical values:<\/p>\n<p><strong>[10,50] My Title<\/strong><\/p>\n<p>In the example the X position is set to 10 pixels and the Y position is set to 50 pixels.<\/p>\n<p>When you add coordinates to a title, the coordinates must be set between brackets, &#8220;[&#8221; and &#8220;]&#8221;, and the X coordinate and the Y coordinate must be separated with a comma (&#8220;,&#8221;). Like this:<\/p>\n<p><strong>[20,80]<\/strong><\/p>\n<p>The actual title must then be placed after the ending bracket. For example:<\/p>\n<p><strong>[20,80] My menu title<\/strong><\/p>\n<p>See also the picture below for an example. The main title coordinates have been set to [50,60] and the sub title coordinates have been set to [160,120]:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-cd-menu-creator\/cdmc-editor--titles-with-coordinates--w640.png\" alt=\"\" border=\"0\" hspace=\"0\" vspace=\"1\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-cd-menu-creator\/cdmc-editor--titles-with-coordinates--cropped--w640.png\" alt=\"\" border=\"0\" hspace=\"0\" vspace=\"1\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-cd-menu-creator\/menu--titles-with-coordinates--w640.png\" alt=\"\" border=\"0\" hspace=\"0\" vspace=\"1\" \/><\/p>\n<p><span style=\"font-size: 18px; color: #000080;\"><strong>Also button&#8217;s positions can be set in this way<\/strong><\/span><br \/>\nThere is already <a href=\"https:\/\/www.samlogic.net\/cd-menu-creator\/tips\/tips-pages\/change-position-buttons.htm\" target=\"_blank\" rel=\"noopener noreferrer\">functionality<\/a> in CD-Menu Creator to set absolute positions for buttons (via the <strong>Button Options<\/strong> dialog box) but this new method can also be used for buttons, if you prefer it and want to be consistent with how to set coordinates for objects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can now in CD-Menu Creator set an absolute position for a title, subtitle and button group title. In the latest update of CD-Menu Creator we have added this functionality. Normally the X and Y position of a title, subtitle and button group titles are set automatically by CD-Menu Creator. But now you can set &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2020\/02\/you-can-now-set-an-absolute-position-for-a-title\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;You can now set an absolute position for a title&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,15],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6267"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=6267"}],"version-history":[{"count":12,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6267\/revisions"}],"predecessor-version":[{"id":6304,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/6267\/revisions\/6304"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=6267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=6267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=6267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}