Jump to content

tuanphan

Circle Member
  • Posts

    65,633
  • Joined

  • Last visited

  • Days Won

    521

Posts posted by tuanphan

  1. add !important after background-image code, something like this

    .header-announcement-bar-wrapper [href="/work"] {
        background-image: url(https://static1.squarespace.com/static/63daffe5e884430a69a0ef9d/t/63e48126e125c02a6cfb3aca/1675919654080/WORK.png) !important;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
        color: transparent !important
    }

     

  2. On 2/21/2023 at 4:57 PM, pelanderson said:

    Hi, I managed to add code to centre posts but even on the category with 2 posts can see they are slightly to the left. This category has 4 posts: https://renfield-centre.squarespace.com/rooms/category/50 

    This summary block containing 11 posts centred are also slightly to the left https://renfield-centre.squarespace.com/all

    You want to center this item?

    image.thumb.png.418cb57d3c006d49a879f3886e20d8dc.png

  3. On 2/23/2023 at 5:30 AM, BronwynChecklist said:

    Hello, a few weeks ago I used the code below that was mentioned above to bring the drop down categories to the front, which worked, but now it's stopped working. It's cutting off. https://www.checklistlegal.com/blog 

    Can someone help a newbie like me? 

     

    ul.archive-group-list {

        position: absolute;

        top: 60px;

        background-color: #faf9f7;

    }

    Add to Design > Custom CSS

    [data-section-id="63c76e11ee16613a56e308b2"] {
        z-index: 10 !important;
    }

     

  4. On 2/23/2023 at 1:56 AM, 99saintclaire said:

    - I can't get this code to work on 7.1 / Fluid Engine. I've tried in Header and Footer Code Injection - still no luck. Do you have an update?

    Site URL: systms.club/article/quadrant-method

    Try this code with new class name

    <script>
      document.addEventListener('DOMContentLoaded', function() {
        var element = document.querySelector('.blog-item-title');
      	if (!element) {
        	return;
        }
        var newElement = document.createElement('h2');
        newElement.style.order = 2;
        newElement.className = "blog-item-excerpt";
        newElement.innerHTML = document.querySelector('[property="og:description"]').getAttribute("content");
        var elementParent = element.parentNode;
    
        elementParent.insertBefore(newElement, element.nextSibling);
    });
    </script>

     

  5. On 2/23/2023 at 12:14 AM, KB_Designs said:

    Hi Taunphan,

    You can use the Balboa demo site, as the same issue exists there by default.

    https://balboa-demo.squarespace.com/landscapes

    Thanks!

    Add to Design > Custom CSS

    @media only screen and (max-width: 768px) {
        .gallery-masonry .gallery-masonry-wrapper {
            columns: 2;
            column-gap: 0;
            height: auto!important;
            display: block!important;
            padding: 0px;
        }
        .gallery-masonry-item-wrapper {
            height: auto!important;
        }
        .gallery-masonry-item {
            position: relative!important;
            transform: none!important;
            width: 100%!important;
            display: block;
            padding: 1.5px!important;
            box-sizing: border-box;
        }
    
        .gallery-masonry .gallery-masonry-item img {
            height: 100%!important;
          	width: 100%!important;
        }
    }

     

  6. On 2/22/2023 at 7:28 PM, marketingep said:

    @tuanphan

    Also having the same issue with our site, social icons huge and vertically stack on mobile...

    https://www.greenparkstation.co.uk/

    Would really appreciate any help!

    Add to Design > Custom CSS

    /* Mobile Footer Icons */
    @media screen and (max-width:767px) {
    div#block-yui_3_17_2_1_1574945868334_63299+.row .span-1 {
        width: 20% !important;
        float: left !important;
    }
    }

     

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