Jump to content

calcal

Member
  • Posts

    16
  • Joined

  • Last visited

Reputation Activity

  1. Like
    calcal got a reaction from tuanphan in Change height/padding of sub-navigation in the mobile navigation   
    Thanks again @tuanphan this has solved the issue perfectly!
     
  2. Thanks
    calcal got a reaction from creedon in (SS7.1) Summary Block (from blog) Disable Clickthrough   
    Thank you so much for helping me again @creedon works perfectly
  3. Like
    calcal reacted to tuanphan in Change height/padding of sub-navigation in the mobile navigation   
    Add to Design > Custom CSS
    [data-folder] .header-menu-nav-folder-content { justify-content: flex-start; }  
  4. Like
    calcal reacted to creedon in (SS7.1) Summary Block (from blog) Disable Clickthrough   
    Add the following to Design > Custom CSS.
    /* disable summary block links */ .summary-metadata-item--cats, .summary-title-link   {        pointer-events : none;          } Let us know how it goes.
  5. Like
    calcal reacted to tuanphan in Change height/padding of sub-navigation in the mobile navigation   
    Add to Design > Custom CSS
    div:not([data-folder]) div.header-menu-nav-item { margin-bottom: 30px; } [data-folder] div.container { margin-bottom: 50px !important; }  
  6. Like
    calcal reacted to tuanphan in Image descriptions in Lightbox view only?   
    The <style> code is for Grid Gallery Only. With masonry, you need to share page url, we can tweak the code
  7. Like
    calcal reacted to tuanphan in Image descriptions in Lightbox view only?   
    You need to share link to a page, we can check easier
    If you can't share, we need to create a trial site, add masonry code, add code,...take a lot of time.
  8. Like
    calcal reacted to Rayane in Image descriptions in Lightbox view only?   
    I too would like to have image description only appearing while the Lightboxing is on, but I'm pretty sure the code you shared won't work on my website right? 
     
    Here is my website : rayanevuillemin.squarespace.com
  9. Like
    calcal reacted to tuanphan in Padding around videos on the video page   
    Can you share link to page in screenshot? I can't find it on homepage & videos page
  10. Like
    calcal reacted to tuanphan in Image descriptions in Lightbox view only?   
    Add this code to Settings > Advanced > Code Injection > Footer
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> jQuery(document).ready(function($){ var texts = document.getElementsByClassName('gallery-caption-content'); $('.gallery-lightbox-list .gallery-lightbox-item').each(function(idx, ele){ var text = texts[idx] var id = $(ele).attr('data-slide-url') if (text) { $(ele).append('<div id="' + id + '" class="light-caption">' + text.innerHTML + '</div>'); if ($(ele).attr('data-active')) { $(`#${id}`).css('visibility', 'visible') } } }) $('.gallery-masonry-lightbox-link').click(function() { var id = $(this).attr('href').split('=')[1] $('.light-caption').css('visibility', 'hidden') $(`#${id}`).css('visibility', 'visible') }) $('.gallery-lightbox').click(function() { $('.light-caption').css('visibility', 'hidden') var id = location.search.split('=')[1] $(`#${id}`).css('visibility', 'visible') }) }) </script> <style> .light-caption { visibility: hidden; } figcaption.gallery-caption.gallery-caption-grid-simple { display: none; } .gallery-lightbox-item[data-active='true'] .light-caption { visibility: visible; } .light-caption { background-color: rgba(0,0,0,0.5); display: block; width: 100%; padding: 10px; text-align: center; } figure:hover .light-caption { visibility: visible !important; } figure.gallery-lightbox-item { pointer-events: initial !important; } </style>  
  11. Thanks
    calcal got a reaction from creedon in (SS7.1) Calander Block - Allow hover info, but disable click through to events page   
    Thank you so much Creedon that works perfectly, have a great day
  12. Like
  13. Love
    calcal reacted to creedon in (SS7.1) Calander Block - Allow hover info, but disable click through to events page   
    Add the following to Design > Custom CSS.
    /* disable calendar background image link */ .yui3-squarespacecalendar .background-image-link { pointer-events : none; } // disable calendar flyout link and hide arrow, uses LESS syntax .yui3-squarespacecalendar .flyoutitem-link {   pointer-events : none;      .flyoutitem-link-arrow {        display : none;          }        } Let us know how it goes.
×
×
  • 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.