LaurelB Posted June 18, 2021 Share Posted June 18, 2021 Site URL: https://star-fennel-h9p3.squarespace.com/ Hey! I have a split navigation on my site. I'm using both CSS and Code injection the issue i'm having is setting the breakpoint - once the screen is smaller the logo ends up aligning to the right. Code Injection: <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script> $(document).ready(function(){ $('.markdown-block .sqs-block-content h3').addClass('ui-closed').css('cursor','pointer'); $(".markdown-block .sqs-block-content h3").nextUntil("h3").slideToggle(); $(".markdown-block .sqs-block-content h3").click(function() { $(this).nextUntil("h3").slideToggle(); $(this).toggleClass('ui-closed ui-open'); }); }); </script> CSS: /*Make split navigation*/ .header-nav { position: absolute; top: 50px; bottom: 0; margin-top: 0!important; margin-left: -50px!important; } .header-nav-item:nth-of-type(3) { margin-right: 440px!important; } .header-title-logo a { z-index: 1000; position: relative; } See screenshot of issue! Thanks so much! Link to comment
Wolfsilon Posted June 18, 2021 Share Posted June 18, 2021 Hello, Could you please share the password to view your page so we can get a better look at what's happening? Thanks, -Dan Link to comment
LaurelB Posted June 18, 2021 Author Share Posted June 18, 2021 Absolutely @Wolfsilon! It's website2021 Link to comment
tuanphan Posted June 21, 2021 Share Posted June 21, 2021 On 6/19/2021 at 4:47 AM, LaurelB said: Absolutely @Wolfsilon! It's website2021 Hi. Which screen sizes do you have problem? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
LaurelB Posted June 23, 2021 Author Share Posted June 23, 2021 Hey everyone! Just checking in to see if anyone has any insight on this! I'm really struggling! 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