tyler427438 Posted November 22, 2023 Share Posted November 22, 2023 Hello I am looking to move the social links to the right next to my car in the header. Link to comment
SaranyaDesigns Posted November 22, 2023 Share Posted November 22, 2023 @tyler427438 can you share a link to the page you need help with, so we can have a closer look at the code in action? You may be able to achieve this with some custom CSS. Link to comment
tyler427438 Posted November 23, 2023 Author Share Posted November 23, 2023 Thanks! If you could include custom css that would be great as my website isn’t live yet and is still private! Link to comment
tuanphan Posted November 26, 2023 Share Posted November 26, 2023 On 11/23/2023 at 11:53 PM, tyler427438 said: Thanks! If you could include custom css that would be great as my website isn’t live yet and is still private! You can follow this quick guide to share url 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
tyler427438 Posted November 27, 2023 Author Share Posted November 27, 2023 here is my website url https://www.trmwoodcraft.com/ Link to comment
SaranyaDesigns Posted November 27, 2023 Share Posted November 27, 2023 Try this in your custom CSS @tyler427438 @media (min-width:800px) { .header-title-nav-wrapper { order: 1; flex-basis: 85%; } .header-actions--left { order: 2; } .header-actions--right { order: 3; } .header-layout-branding-center-nav-center .header-actions--left { justify-content: flex-end !important; } } tuanphan 1 Link to comment
tyler427438 Posted November 28, 2023 Author Share Posted November 28, 2023 when i use that exact code in the custom css portion of sqaurespace it move the header all round see below Link to comment
SaranyaDesigns Posted November 28, 2023 Share Posted November 28, 2023 @tyler427438 try adding !important after the 85%, like this: @media (min-width:800px) { .header-title-nav-wrapper { order: 1; flex-basis: 85% !important; } .header-actions--left { order: 2; } .header-actions--right { order: 3; } .header-layout-branding-center-nav-center .header-actions--left { justify-content: flex-end !important; } } tuanphan 1 Link to comment
tyler427438 Posted December 3, 2023 Author Share Posted December 3, 2023 hello that moved them to the rigth however now my main header is not centered on the page and is moved to the left. How do I fix this problem now. thanks. Link to comment
Solution tuanphan Posted December 4, 2023 Solution Share Posted December 4, 2023 Try adding this code to Website Tools > Code Injection > Footer (Do not add to Custom CSS) <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('.header-display-desktop .header-actions-action.header-actions-action--social').insertBefore('.header-display-desktop .showOnDesktop .header-actions-action.header-actions-action--cart'); }) </script> <style> .header-display-desktop .showOnDesktop { display: flex; align-items: center; } .header-actions-action.header-actions-action--cart { margin-left: 1.9vw; } </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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment