Jump to content

lawona_koca31

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Love
    lawona_koca31 reacted to Shadmon in Redirect to a page instead on promotional pop up   
    Hi @LucieGbt1993 You can add this code instead :

    // 2000 milliseconds = 2 seconds -> You can change the number to delay. For example: 5000 will be 5 seconds.
    <script>
    setTimeout(function() {
        window.location.href = "/your-url";
    }, 2000);
    </script>
     
  2. Like
    lawona_koca31 reacted to Shadmon in Full width blog post image   
    Hi, Thank you for letting me know. Please update this CSS line only :

    #article- {
        padding-top: 0;
        margin-top: -80px;
    }

    Let me know if it works !
  3. Like
    lawona_koca31 reacted to Shadmon in Custom Hamburger - Change On Hover?   
    @FTWSGEM Hi, You can add this CSS code. Just add your image there and it will show on hover.

    .burger-inner:hover::after {
        background-image: url(add your image url here);
    }
    Let me know if it helps!
  4. Like
    lawona_koca31 reacted to Shadmon in Slide In Image Removes Scroll Bar - Help!   
    Hi @FTWSGEM
    The issue you're facing with the disappearing scrollbar stems from the overflow:hidden; rule applied to the body element within your CSS.
    So, Please remove this line from your CSS:

    body 
    {
      overflow:hidden;
    }
    It will fix your issue. Let me know if it works!
  5. Thanks
    lawona_koca31 reacted to Shadmon in Making Hamburger Menu Full Width on Mobile   
    Here is the CSS code you can use. Website > Website Tools > Custom CSS.

    #sidecarNav {
        width: 100%;
        z-index: 9;
    }

    Let me know if works for you!
  6. Like
    lawona_koca31 reacted to amplicitycomm in Code used has made website text disappear   
    Hi there! I have been having an ongoing issue with using trademarks (™) and registered trademarks (®) on my client's website. They are too big - almost the same height as the text (the ® specifically barely appears as a subscript. The best solution I found to date was code in the CSS section and the code injection section (please see the code I used below). Using this code has caused a few of my text blocks on my published site to disappear. Does anyone have any tips of decreasing the size of the trademarks using code while still showing all text across my website? Thank you in advance!
    CSS:
    .symbol {
        font-size: 1rem !important;
        vertical-align: super;
    }
    h1 .symbol {
      font-size: 1.5rem !important;
    }
    h2 .symbol {
      font-size: 1.3rem !important;
    }

    Code Injection:
    <script>
    document.addEventListener('DOMContentLoaded', (event) => {
        // Select both titles and descriptions
        const elements = document.querySelectorAll('.list-item-content__title, .list-item-content__description, .sqs-block-content');
        elements.forEach(element => {
            if (element.textContent.includes('®') || element.textContent.includes('™')) {
                // Replace ® with ® wrapped in a span for each element
                element.innerHTML = element.innerHTML.replace(/®/g, '<span class="symbol">®</span>');
            }
        });
    });

    </script>
  7. Like
    lawona_koca31 reacted to creedon in Spaces in Text blocks shows as colored in Safari, not in Chrome   
    You can set the Blend Mode to Normal.


    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.