Jump to content

jmerrill

Circle Member
  • Posts

    108
  • Joined

  • Last visited

Posts posted by jmerrill

  1. @tuanphan Here's the code I added to my page - not quite working yet.

    Also, one last tweak request: Is there a way to have the image follow the cursor when hovering over text?

    URL: https://artdomain.co/about

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
    <script>
    $(document).ready(function(){
      // redford
      $('#block-yui_3_17_2_1_1707952103266_14731 a[href="#redford"]').hover(function(){
        $("#block-yui_3_17_2_1_1721156617453_16796").addClass("show");
        $(this).addClass('layer-index');
        }, function(){
        $('#block-yui_3_17_2_1_1721156617453_16796').removeClass("show");
        $(this).removeClass('layer-index');
        }
      );
    });
    </script>
    <style>
    #block-yui_3_17_2_1_1721156617453_16796 {
      opacity: 0;
      transition: all 0.1s ease;
      }
    .fe-block-yui_3_17_2_1_1707952103266_14731 {
    position: relative;
    z-index: 99999 !important;
    }
      .fe-block-yui_3_17_2_1_1707952103266_14731 * {
          border: none !important;
        text-decoration: none !important;
      }
      .show {
      opacity: 1 !important;
         transition: all 0.1s ease;
      }
    .fe-block:has(.layer-index) {
         z-index: 999999999999999 !important;
        position: relative !important;
    }
    </style>

     

  2. Anyone found a solution to this? Facebook comments looks fine on desktop but tablet and mobile have a bunch of white space on the right.

    URL: https://artdomain.co/articles/the-curious-case-of-gustav-klimts-enigmatic-portrait-of-a-lady

    This is the code I added to the Post Blog Item Code Injection space:

    <div class="fb-comments" data-href="https://artdomain.co/blog{website.baseUrl}{permalink}" data-width="100%" data-numposts="5"></div>

     

  3. I have the following page with a simple quiz on it—there will be many of these types of pages.

    I would like to know if there is a way clicking on buttons A, B and C reveals the section below it; while clicking on button D reveals the bottom section.

    Note: Once any button is clicked, the ability to click any other button is disabled.

  4. @paul2009 I have a Contributor who is making blog entries for me. The blog entries are relatively simple (a title, image, very short excerpt, tag and category - no body text) but, there are now tens of thousands of them in total.

    As of last week she has been experiencing slow performance in adding blog entries now.

    However, when I go in and add blog entries, I don't have any issues.

    Any suggestions?

     

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