How to change the position of the compare option in Product details?
1. Go to App > Find "Comparison" from the sidebar menu > Find "Product detail page" > Find the placement settings > Select Manually OR Shopify 2.0 if it supports by your theme
i) If Manually - Copy that code and paste it within the product detail
ii) If App Block (Shopify 2.0) - Add app block from theme editor of product detail page. (*This option only work if your theme supports App Block )