Jump to content

lu.diehl

Circle Member
  • Posts

    170
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by lu.diehl

  1. 10 hours ago, ACScruggs said:

    Hello - @lu.diehl. The code you shared at the beginning of this thread worked great for me. However, I'm trying to get the image (logo mark) centered on mobile and tablet view. I added   position: center;   to the code provided but wasn't successful in getting it repositioned. Do you know how I can make that happen?

    Many thanks!

    Hey @ACScruggs-- can you share a link to your website? 

  2. @Monte63 - sorry for the late response. 

    Let me know if this works:

    .collection-type-page.has-promoted-gallery.transparent-header .promoted-gallery-wrapper .sqs-gallery-block-slideshow {
    	height: 450px !important;
    	background-color: #FFFFFF;
    }
    
    @media only screen and (max-device-height: 640px)
    .collection-type-page.has-promoted-gallery.transparent-header #promotedGalleryWrapper .sqs-gallery-block-slideshow, .collection-type-page.has-promoted-gallery.transparent-header .promoted-gallery-wrapper .sqs-gallery-block-slideshow {
    	height: 200px !important;
    	background-color: #FFFFFF;
    }

     

  3. 18 hours ago, squick said:

    thanks for this! any guidance on setting the mobile width would be greatly appreciated. the 640px limitations constrains iphone 11 well, but not ipad ... is the trick to simply increase the min-device-width? recommendations? Thanks!

    Yes, you can actually change the min-device-width to whatever you want, but for general iPad layouts use 768px. 

    //* For general iPad layouts *//
    
    @media only screen and (device-width: 768px) {
      /* Code goes here */
    }

     

  4. 13 hours ago, DaleBoettcherPhoto said:

    Lu.diehl, thank you! Is there a way to make this so that it does not affect the mobile version?

    Hi @DaleBoettcherPhoto, the code I wrote before isn't great actually... I would try it differently this time. If you're looking to change it only in one page then add the code below to the page setting > Advanced instead of adding it the general Custom CSS.  If you're looking to change it all pages, add it to Design > Custom CSS and remove the <style> tags.

    <style>
    @media only screen and (min-device-width: 640px){
      .promoted-gallery-wrapper {
        height: 500px!important;
      }
      .sqs-gallery-design-stacked-slide {
        height: 500px!important;
    }
      .sqs-gallery-controls .next, .sqs-gallery-controls .previous{
        top: 250px!important;
      }
    }
    </style>

    Let me know how it looks... if you need further help, please share a link to your website. 

  5. Hi @AThompson_social - I've used this in the past and it worked well for me on Brine template:

    1. Add this to Settings > Advanced > header code injection:

    (Change the scroll height you wish to change the color, here it is set to 400 px)

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    
    <script>  
     $(window).on("scroll", function() {
        if($(window).scrollTop() > 400) {
            $(".Header").addClass("on-scroll");
        } else {
           $(".Header").removeClass("on-scroll");
        }
    });
    </script>

     

    2. Add this to Design > Custom CSS 

    Change the background color you wish to use. If your navbar is transparent at the starting point, then remove the last piece of code (.Site-inner)

    .Header{
      background-color: blue!important;
      position: fixed!important;
      transition: 0.2s all linear;
      -webkit-transition:background-color .4s;
      -moz-transition:background-color .4s;
      transition:background-color .4s;
    }
    
    .on-scroll{
      background-color: red!important;
    }
    
    .Site-inner{padding-top: 50px;}

    Let me know how it goes! Your website is pwd protected... if you want further help, please share the password 😉

  6. @New_Designer try looking for the image block ID. The block ID starts with "block-" followed by a set of numbers, for example: id="block-5a6263c01ea450cffcf0" as shown in the image attached. If you need further help, please share a link to your website 😉

    If you use the Google Chrome browser there is this really helpful extension called the Squarespace Collection/Block Identifier which saves me time identifying any block ID in Squarespace. It shows the Squarespace page collection ID and permanent block IDs when you enable it. 

    https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde

    Screen Shot 2019-11-20 at 7.26.20 AM.png

  7. Copy and paste the code below to your Custom CSS. Change the height value to what you want. Let me know if this works... 

    .collection-type-page.has-promoted-gallery #promotedGalleryWrapper .sqs-block, 
    .collection-type-page.has-promoted-gallery .promoted-gallery-wrapper .sqs-block, 
    {
    	max-height: 500px!important;
    }
    
    .sqs-gallery-design-stacked-slide {
    	height: 500px!important;
    }
  8. Hi @doshea Find the unique ID of the image, change "#block-unique-ID" to your image ID and apply the code below:

    /* mobile screens */
    @media only screen and (max-width: 640px) {
      #block-unique-ID{
      width: 50%;
      }
    }
    
    /* tablet screens */
    @media only screen and (max-width: 768px) {
      #block-unique-ID{
      width: 100%;
      }
    }

    Let me know if it works 😉 If you need further help, please share a link to your website and pwd if needed.

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