Jump to content

KristenRuthSmith

Circle Member
  • Posts

    28
  • Joined

  • Last visited

Posts posted by KristenRuthSmith

  1. On 8/9/2023 at 1:20 AM, tuanphan said:

    You can connect with MailChimp (or another service via Zapier), then setup a Campaign in Mailchimp, will automatically send an email to new subscribe.

    Yeah, that's what I do on the other sites I build. Was hoping to simplify for this client. Wish they would directly integrate this into Squarespace! Thanks, as always.

  2. On 3/24/2021 at 1:06 AM, tuanphan said:

    Hi, Use this new code

    /* nav one line */
    .header-title-nav-wrapper {
        flex: 0 0 90% !important;
    }

     

    @tuanphan I have tried every bit of code listed prior to and including this one on this thread. Nothing affecting my site.

    When full screen it looks fine, but I want all nav items to stay on one line for as small a screen as possible. There's plenty of space on either side.

    I'm using centered logo with centered nav below.

    monicaros.squarespace.com PW NewWebsite1!

    Screen Shot 2023-07-27 at 2.42.30 PM.png

  3. @tuanphan I have a weird situation where I've successfully replaced the text with an image using code (included below), but when I'm on any of the 3 pages nested under the nav folder, the image disappears.

    Site is stowestorylabs.org.

    You'll see the image swap disappear if you go to stowestorylabs.org/vermont-film-music-festival

     

    Custom CSS Code:

    // VFMF NAV IMAGE SWAP//
    .header-announcement-bar-wrapper [href="/vfmf"] {
        background-image: url(https://static1.squarespace.com/static/631a415a2c65ac4dfab054b7/t/63e5592b64390d7f4c4cffe7/1675974956133/VFMF+word+logo.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        color: transparent !important;
    }

    Screen Shot 2023-05-09 at 4.15.01 PM.png

    Screen Shot 2023-05-09 at 4.15.13 PM.png

  4. On 7/8/2020 at 2:23 AM, tuanphan said:
    /* About */
    .header-announcement-bar-wrapper [href="/about"] {
        background-image: url(https://beaverhero.com/wp-content/uploads/2020/06/twitter-292994_640.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        color: transparent !important;
    }

    @tuanphan This is working wonderfully on desktop! Is there a way to also replace the nav with the image on mobile nav?

  5. On 9/26/2019 at 12:04 AM, hdossary said:

    Hi, I am using Squarespace version 7.1.

    I want to create a slideshow of full bleed images with the SAME headlines / text but the image changes in the background.

    At the moment I can only either add:

    1. A "headline" section with full bleed image and text on top
    2. or A "gallery" section with a slideshow of full bleed images without text.

    Is there a workaround for this? If not I would like to downgrade from version 7.1 and use an existing template that gives me the option to do this.

    Website is middl.io and password is staging only

    ThanksHannah

    This original post went up in September of 2019...I am stunned we still not have an answer! How can we mobilize Squarespace to make an auto-rotating slideshow with an overlapping headline function available in 7.1?

  6. 8 hours ago, tuanphan said:

    @tuanphan I've injected the code into the footer with no effect. You can still see "Test description" on the masonry grid, not in the lightbox (both captions and lightbox are activated in the gallery section). Is there CSS code I need as well?

    https://www.michael-pressman.com/coast-of-maine-gallery pw NewWebsite1!

  7. On 6/21/2020 at 5:54 AM, tuanphan said:
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
    <script>
    function createNodeCaption(textContent){
    	var divElement = document.createElement("div");
    	var pElement = document.createElement("p");
    	pElement.innerHTML = textContent;
    	divElement.classList.add("style-gallery-lightbox-text");
    	divElement.appendChild(pElement);
    	return divElement;
    }
    $( document ).ready(function() {
        var itemGallery = document.getElementsByClassName('gallery-grid-item');
    	var itemGalleryLightBox = document.getElementsByClassName('gallery-lightbox-item');
    	var countGalleryItem = itemGallery.length;
    
    	for(var i = 0; i < countGalleryItem; i++){
    		if(itemGallery[i].getElementsByTagName('p').length != 0){
    			var text = itemGallery[i].getElementsByTagName('p')[0].textContent;
    			var itemNeedCaption = itemGalleryLightBox[i].getElementsByClassName('gallery-lightbox-item-src')[0];
    			itemNeedCaption.appendChild(createNodeCaption(text));
    		}
    	}
    });
    
    </script>
    <style>
      figcaption.gallery-caption.gallery-caption-grid-simple {
        display: none;
    }
    .style-gallery-lightbox-text {
        padding: 10px 0px 25px 0px;
        display: block;
        position: absolute;
        left: 50%;
        top: 90%;
        width: 100%;
        transform: translate(-50%, -50%);
        font-size: .3em
        text-align: left;
    }
    
    .style-gallery-lightbox-text p {
        width: 90%;
        padding: 10px 15px;
        margin: auto;
        color: white;
        background-color: rgba(0,0,0,0.5);
    }
      @media screen and (max-width:767px) {
    .style-gallery-lightbox-text {
        top: 70%;
    }
    }
    </style>

    This isn't working for me in 7.1. What am I missing? I've injected the code into the footer. michael-pressman.com/coast-of-maine-gallery pw: NewWebsite1!

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