Ellis-square Posted October 12, 2021 Share Posted October 12, 2021 (edited) Site URL: https://cacao-death-by-xoko.squarespace.com/ password: xoko I've recreated the 7.0 Cacao template in 7.1. I want the cart icon in the center, as per the 7.0 demo, but I can't make it happen in 7.1. Can anyone work out the code? Thanks! Screenshots of Cacao demo 7.0 and my recreation in 7.1 attached. Edited October 12, 2021 by Ellis-square Link to comment
tuanphan Posted October 14, 2021 Share Posted October 14, 2021 Add this to Settings > Advanced > code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-display-desktop .header-actions.header-actions--right').appendTo('.header-title-nav-wrapper .header-nav'); }); </script> <style> .header-nav { flex-direction: row-reverse; display: flex; justify-content: space-between; flex: 50% !important; width: 50% !important; } .header-title { width: 50% !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Ellis-square Posted October 15, 2021 Author Share Posted October 15, 2021 This is perfect - thank you very much 👍 Why are you recommending putting into the footer rather than the header? Link to comment
tuanphan Posted October 17, 2021 Share Posted October 17, 2021 On 10/16/2021 at 1:06 AM, Ellis-square said: This is perfect - thank you very much 👍 Why are you recommending putting into the footer rather than the header? Good for performance Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment