Jump to content

NWCPhotos

Member
  • Posts

    15
  • Joined

  • Last visited

Posts posted by NWCPhotos

  1. Site URL: https://www.nwcphotos.com/shop/fireworks

    Hello,

    I am finishing up my shop page on my site but have run into sort of a weird customization quirk. On PC, the variant dropdown menu on my products looks really bad, like default Windows appearance. Is there no way to style these? 

    I was wondering if there is an alternative to the dropdown, and rather display all the options almost like they're greyed out and the user has to click and select which would turn that selection dark before adding to cart. I will attach a mockup of what I mean and how I would ideally like the variants to look. 

    If anyone has some code for suggestions to achieve this look it would be very helpful, thank you!

    WebsiteProductPage.jpg

  2. 6 hours ago, tuanphan said:

    If your site have ajax enabled, sometimes you need to disable ajax loading in Design > Site Styles > Ajax Loading

     

    Just disabled that and tried the code out again. The original code works but the code suggested above to disable it on mobile doesn't for either desktop or mobile. 

     

    Wish this feature was just built into squarespace lol

  3. 15 hours ago, bangank36 said:
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
    <script>
            $(function() {
              $.scrollify({
                section : ".Index-page",
                afterRender:function() {
                	if (window.innerWidth <= 600) {
                    	$.scrollify.disable();
                    } else {
                    	$.scrollify.enable();
                    }
                },
                afterResize:function() {
                	if (window.innerWidth <= 600) {
                    	$.scrollify.disable();
                    } else {
                    	$.scrollify.enable();
                    }
                },
              });
            });
    </script>

    Reference: 

    jQuery Scrollify - Power steering for your scroll wheel (lukehaas.me)

    Hey there, appreciate the response. I injected this into the header and it worked once but doesn't seem to work again. Seems close but might not be exact yet. Either way thank you, one step closer to sorting it out.

  4. Hello,

     

    First post here, looking for some advice working with the following css script:

     

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
    <script>
            $(function() {
              $.scrollify({
                section : ".Index-page",
              });
            });
    </script>

     

    This "Scroll-Lock" script works great on my desktop site, but not so much on mobile. I think I'd rather just have it disabled on my mobile version. My thought would be to add a media query but I can't figure out where to put it in the above code. Thanks in advance. 

  5. On 11/16/2019 at 6:55 PM, Justmadeit said:

    If you're looking for an answer I used Brine.

    Paste into header code injection.

    Let me know how you go.

     

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollify/1.0.19/jquery.scrollify.min.js"></script>
    <script>
            $(function() {
              $.scrollify({
                section : ".Index-page",
              });
            });
    </script>

    This code works great on my site for the desktop version, but doesn't play nice with the mobile versions. Is there a way to disable it on the mobile version of the site?

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.