Jump to content

JayVanDyke

Circle Member
  • Posts

    381
  • Joined

  • Last visited

Posts posted by JayVanDyke

  1. Seems ok to me at the moment but sometimes those images get hard coded numbers generated by a script when they load. Maybe this will work? This will probably break your focal points if you've got those set on your images anything other than center but it should make them be sure to fill the container.

     

    @media only screen and (max-width: 640px) {
      .sqs-gallery-design-carousel .summary-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
      }
    }

     

  2. @renee.hartwick
    have you tried using safe mode? in the editor after "/config/" put "safe" so it should look like this

    yourinternalurl.squarespace.com/config/safe

    the other thing I would try is to get rid of literally all of the css and paste it into a plain text editor to save for just a moment to see if that's it. It looks to me like someone has manipulated the size of an element inside of a fluid engine container. I've had things look like this on sites where I had to adjust the sizing for portrait style video and it kind of breaks the editor a bit when you're working on that section. If it's happening in all of them I wonder if there's some generic css that's affecting the whole site. I've had to do this a few times, it's such a nightmare finding the issue.

  3. @EvanMad this is due to the arrangement of your blocks on mobile. You seem to have another code block overlaying the iframe that is stopping you from clicking through. In your mobile editor use the block settings to send it all the way to the back and see if that helps. Or just resize that block only in mobile mode to be really small and not on top of the other code block.

    Screenshot 2023-10-12 at 12.05.44 PM.png

    Screenshot 2023-10-12 at 12.06.38 PM.png

  4. @shanagann I think if you go into the plugin code and remove this part

    replace(",","")

    see if this edited version works

    <!-- Reformat Product Price (15,000.00 -> 15000) -->
    <!-- Author: Dmitry Kiselyov @_dmitrykiselyov -->
    <script src="https://cdn.jsdelivr.net/npm/@ryanmorr/ready@1.4.0/dist/ready.umd.js"></script>
    <script>!function(){function reformatPrice(price){var priceClone=price.cloneNode(!0);function reformat(){priceClone.innerHTML=price.innerHTML;var target=priceClone.querySelector(".sqs-money-native")||priceClone,textNode=priceClone.querySelector(".sqs-money-native");target.textContent.length>1?target.textContent=format(target.textContent):textNode&&(textNode.textContent=format(textNode.textContent))}function format(text){return text.replace(/\.\d{2}/,"")}function watch(){var observer;new MutationObserver(reformat).observe(price,{childList:!0})}priceClone.classList.add("product-price-clone"),price.parentNode.insertBefore(priceClone,price.nextElementSibling),price.style.display="none",reformat(),watch()}ready(".product-price:not(.product-price-clone),.original-price:not(.product-price-clone)",reformatPrice)}();</script>
    <!-- end Reformat Product Price -->

     

  5. The code is totally complete on their codepen but I don't think it'll just work out of the box in a code block, which is why if you share your page link we can see what parts aren't working or in the worst case (which has happened before) it was copied and pasted missing something like a quotation mark, bracket, semicolon, etc.

    Typically in these forums many of us have an easier time looking at your specific problem if we're looking at what you're talking about live on your site. The other reason this is helpful for us is that I would probably just have to make my own page and install this person's code to try it out which ends up being more work for helpers in the community.

  6. @mindofalexander 

     

    Your pagination title question

    1. add a code block anywhere on the portfolio item page

    2. copy one of these snippets into it and adjust the title as needed. If both links on that page need to be changed then you'll need both of these code snippets below.

    <style>
      /*for right side pagination link*/
    .item-pagination-link--next .item-pagination-title {
        font-size: 0 !important;
    
        &:after {
            content: 'new title name here';
            font-size: 20px; /*from your code*/
            font-family: var(--portfolio-item-pagination-font-font-family);
            font-style: var(--portfolio-item-pagination-font-font-style);
            font-weight: var(--portfolio-item-pagination-font-font-weight);
            letter-spacing: var(--portfolio-item-pagination-font-letter-spacing);
            text-transform: var(--portfolio-item-pagination-font-text-transform);
    
        }
    }
    
    </style>

     

    <style>
    /*for left side pagination link*/
    .item-pagination-link--prev .item-pagination-title {
        font-size: 0 !important;
    
        &:after {
            content: 'new title name here';
            font-size: 20px; /*from your code*/
            font-family: var(--portfolio-item-pagination-font-font-family);
            font-style: var(--portfolio-item-pagination-font-font-style);
            font-weight: var(--portfolio-item-pagination-font-font-weight);
            letter-spacing: var(--portfolio-item-pagination-font-letter-spacing);
            text-transform: var(--portfolio-item-pagination-font-text-transform);
    
        }
    }
    
      
    </style>

     

     

    Your alignment question:

    You have custom CSS added to your page that is this..image.png.0cb01d6d77a123ad234d1ac294a8589f.png

    If you want the links to not push over to the right or left you will need to remove this. The reason those links are pushing over to the side is because your code doesn't allow the words to wrap so instead they keep stretching to the side past where your page content ends. You can play with font sizes to achieve the same goal but that might be kind of a pain.

     

    Adding links in places they don't exist question:

     

    The short answer is this isn't something that is super simple to do and I don't know of an existing plugin that will achieve this. You will need to either learn to write or hire someone who can write you a script to add this to the pages that need it.

     

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