{"id":2860,"date":"2023-08-10T13:33:03","date_gmt":"2023-08-10T08:03:03","guid":{"rendered":"https:\/\/qa.uichemy.com\/?post_type=documents&#038;p=2860"},"modified":"2026-04-14T11:57:44","modified_gmt":"2026-04-14T06:27:44","slug":"why-are-icons-misaligned-off-centered","status":"publish","type":"documents","link":"https:\/\/qa.uichemy.com\/hi\/docs\/why-are-icons-misaligned-off-centered\/","title":{"rendered":"Why are Icons Misaligned or Off Centered?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Icons Misaligned<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Reason<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you import a template in Elementor, some icons might have alignment issues. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This happens because of the line height set at the body level of the theme.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue-1024x575.png\" class=\"wp-image-4744\" alt=\"Modern wooden furniture display with minimalist design, perfect for stylish home decor.\" srcset=\"https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue-1024x575.png 1024w, https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue-300x168.png 300w, https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue-768x431.png 768w, https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue-1536x862.png 1536w, https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/elementor-icon-alignment-issue.png 1562w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/> <\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">So to fix this, you have to set the line height to 1 on the body in your theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To do this in the <a href=\"https:\/\/nexterwp.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Nexter theme<\/a>, from the Dashboard, go to <strong>Appearance<\/strong> &gt; <strong>Customize<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then go to <strong>Typography<\/strong> > <strong>General<\/strong> > <strong>Body<\/strong> and set the <strong>Line Height<\/strong> to 1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"946\" src=\"https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/08\/set-body-line-height.gif\" alt=\"set body line height\" class=\"wp-image-4745\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This should solve most of the icon alignment issues.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SVG Image Off Center<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Reason<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you export a Figma layout containing SVG images or icons using the UiChemy plugin, sometimes, when you import the template in Elementor, you might see the SVG image is a bit off-center.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can happen if you\u2019ve rotated the SVG image in your Figma design. When you rotate an SVG image in Figma, its bounding box tends to move a little off-center in the exported template.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To fix this issue, you can flatten the SVG image after rotating in Figma, this will reset its bounding box.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To do this select the SVG image, then right-click on it and select <strong>Flatten<\/strong> or press <strong>Ctrl + E<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1918\" height=\"993\" src=\"https:\/\/qa.uichemy.com\/wp-content\/uploads\/2023\/07\/figma-flatten-svg.gif\" alt=\"figma flatten svg\" class=\"wp-image-2191\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now if you export the template, the SVG image will remain in its position.<\/p>\n","protected":false},"author":3,"featured_media":7586,"parent":0,"template":"","format":"standard","docs":[14,15],"class_list":["post-2860","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-troubleshooting","docs-troubleshooting-docs"],"acf":[],"_links":{"self":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents\/2860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":0,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents\/2860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/media\/7586"}],"wp:attachment":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/media?parent=2860"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/docs?post=2860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}