Jump to content

creedon

Circle Member
  • Posts

    9,466
  • Joined

  • Last visited

  • Days Won

    78

Posts posted by creedon

  1. 2 minutes ago, earthwindflowermoon said:

    I want to hide the time on one of these pages only.

    Please post the URL for a page on your site where we can see your issue.

    If your site is not public please set up a site-wide password, if you've not already done so.

    Post the password here.

    Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

    Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

    We can then take a look at your issue.

  2. 412847361_ScreenShot2022-08-28at11_09_21AM.png.c06e7eb57b66aab3f28ae1c33dc353b9.png

    Please see Calendar Block Event Multiday Class Add.

    Above all that code install the following.

    <style>
    
      .yui3-calendar-day:not( .twc-cbemca-multiday-1 ) .background {
      
        display : none;
        
        }
        
      .yui3-calendar-day:not( .twc-cbemca-multiday-1 ) .background ~ .itemlist {
      
        display : block;
        
        }
        
      .yui3-calendar-day:not( .twc-cbemca-multiday-1 ) .background + .marker {
      
        background-color : unset
        
        }
        
      </style>

    Let us know how it goes.

  3. If you want to add thousand separators to your number here is some code.

    After the following line...

                if (isInViewport(spacerBar) && !window.numbersAnimated) {

    ...add the following code...

                    function addThousandsSeparator (n) {
                        // by Thomas Creedon < http://www.tomsWeb.consulting/ >
                        n = String(n);
                        n = n.replace ( /\d(?=(?:\d{3})+(?!\d))/g, '$&,' );
                        return n;
                    }

    The thousand separators code is cribbed from Store Price Change.

    Then for any lines like the following.

                        funds.textContent = Math.floor(curfunds);
                        funds.textContent = fundsNum;

    Change them to the following.

                        funds.textContent = addThousandsSeparator(Math.floor(curfunds));
                        funds.textContent = addThousandsSeparator(fundsNum);

    Let us know how it goes.

  4. Quote

    One strange thing i'm finding when using the live site now is that the code keeps flashing up on the screen whenever a button is clicked. It is only very briefly, but doesn't look good. Is there a reason for this? And any way to fix it?

    This indicates the code wasn't installed correctly. It appears the code isn't installed currently. It is impossible to determine what has gone wrong without the code being installed.

×
×
  • 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.