Jump to content

tuanphan

Circle Member
  • Posts

    65,712
  • Joined

  • Last visited

  • Days Won

    522

Posts posted by tuanphan

  1. I see you solved with new code?

    @media screen and (max-width: 767px) {
        .gallery-masonry-item-wrapper {
            height:auto !important;
            margin-bottom: 30px !important
        }
    
        figure.gallery-masonry-item {
            position: relative !important;
            width: 100% !important;
            transform: unset !important
        }
    
        .gallery-masonry-item-wrapper {
            height: auto !important
        }
    
        .gallery-masonry .gallery-masonry-item[data-loaded] img {
            width: 100% !important
        }
    
        .gallery-masonry {
            padding-left: 10 !important;
            padding-right: 10 !important
        }
    
        .gallery-masonry-wrapper.gallery-masonry-list--ready {
            height: auto !important
        }
    }

     

  2. Add to Design > Custom CSS

    body[class*="type-products"].view-item header#header {
        background-image: url(https://images.squarespace-cdn.com/content/v1/63b5ed5e58d111590903192a/1675045798337-L6JIEQJ1X5MNT60CQZ96/unsplash-image-z7rzbFHXym0.jpg?format=original);
        background-size: cover;
        background-repeat: no-repeat;
    }
    body[class*="type-products"].view-item header#header .header-nav-item *, body[class*="type-products"].view-item header#header span, body[class*="type-products"].view-item header#header svg {
        color: white;
    }

     

  3. On 2/27/2023 at 3:09 AM, sisutemplates said:

    Hi @tuanphan,

    I am using this code and it looks great. Just two questions, if you have the time:

    1. How can I align the secondary titles (learn brand strategy, etc.) so that all the titles are justified to the left?

    2. How can I replace the arrow icon with an image? 

    The site I'm working on is https://rectangle-seadragon-eccx.squarespace.com/ (home page) PW: demo

    I have uploaded a sample arrow icon here: https://static1.squarespace.com/static/63efe3291e78f65d59071210/t/63fb8575f842825742dc380c/1677428085817/makefg.php.png

    Thank you!

    captures_chrome-capture-2023-1-26 (5) copy.png

    The site is private. Can you check it again?

  4. On 2/27/2023 at 7:18 AM, Claire_auck said:

    Hey @tuanphan

    I need it for 1 & 2 for the whole portfolio.

    Many thanks
    Claire.

     

    #1 will apply all

    #2. Change to this

    @media screen and (max-width:767px) {
    .gallery-block .sqs-gallery-block-grid .sqs-gallery-design-grid {
        height: auto !important;
    }
    .gallery-block .sqs-gallery-block-grid .sqs-gallery-design-grid .slide {
        position: static !important;
        width: 100% !important;
    }
    .gallery-block .sqs-gallery-block-grid .sqs-gallery-design-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    }

     

  5. On 2/27/2023 at 7:08 AM, MikeAwo said:

    Hi @tuanphan

    Is it possible to remove the hover feature for mobile and have a simple grid with pictures and titles but retain the hover feature on web?

    Or better, if the 'hover' feature can work on mobile but while scrolling like what they have at hanzo.es. Is this feasible?

    Yes. Possible. What is your site url? We can help easier

    Or you can try adding this to Design > Custom CSS first

    /* Portfolio Overlay to grid mobile */
    @media screen and (max-width:767px) {
    div#gridThumbs {
        grid-template-columns: repeat(2,1fr);
    }
    a.grid-item {
        height: unset !important;
        padding-bottom: 0 !important;
    }
    .portfolio-text {
        position: relative !important;
        opacity: 1 !important;
    }
    }

     

  6. On 2/26/2023 at 1:43 PM, AndyKhouri said:

    Oops! Try this:

    https://turtle-kumquat-lsg8.squarespace.com/test-page
    Password: circlehelp

    Add to Test Page Header

    <style>
      body {
        position: relative;
    }
    footer#footer-sections {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 999;
        width: 100%;
    }
    footer.sections section, footer.sections .section-background, .section-border {
        background: transparent !important;
    }
    </style>

     

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