Jump to content

maguisiffredi

Member
  • Posts

    17
  • Joined

  • Last visited

Posts posted by maguisiffredi

  1. 12 hours ago, tuanphan said:

    Add to Design > Custom CSS

    figure.gallery-grid-item {
        position: relative;
    }
    .gallery-caption {
        position: static;
    }
    /* title */
    figcaption.gallery-caption .gallery-caption-wrapper p.gallery-caption-content {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
        padding: 7%;
        transition: opacity ease 200ms !important;
        opacity: 0 !important;
    pointer-events: none;
        color: white;
    }
    .gallery-grid-item:hover .gallery-caption-wrapper p.gallery-caption-content {
        opacity: 1 !important;
    }
    /* overlay */
    .gallery-grid-item-wrapper a:after {
        background: hsla(234.1714285714286, 79.18552036199094%, 56.666666666666664%, 1); /* overlay color */
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        transition: opacity ease 200ms !important;
    }
    .gallery-grid-item:hover .gallery-grid-item-wrapper a:after {
        opacity: 0.75;
    }
    /* remove gap */
    figcaption {
        padding: 0 !important;
    }

     

    Thanks a lot!!! It works!

    You can take a look: 

    https://www.maguisiffredi.com/design

    Just three more small details: 

    - When you watch it on mobile, the text justifies to the left and isn't responsive (it remains too big for mobile). Is it possible to fix it?

    - And also on desktop, I have three columns, when it adapts to mobile, it splits into two columns, but I would like it to have only one column, is that possible?

    - I don't know if it's too much of a mess, but it would be awesome if I could have a title and a small subtitle with the year (like I have it on the illustration section). But I guess I'm maybe asking for a lot. 

    Thanks again!!!! It's starting to look great!

     

     

  2. On 9/11/2022 at 11:22 AM, tuanphan said:

    You can change to Gallery Section - Layout: Grid Simple, add caption

    Then we will give code to achieve hover effect in current Portfolio Page

     

    You mean like this?

    https://www.maguisiffredi.com/

    I created a page called "Design" and on the first project I linked it to another project where you would see it (for now it only says "coming soon").

    Do you think this could work? If so, can you send me the code for the hover, so that it looks exactly like on the "illustration" page?

    Thanks!

  3. On 4/11/2022 at 2:02 AM, tuanphan said:

    See #2 code

    /* Add subtitle */
    h3.portfolio-title:after {
        font-size: 20px;
        color: white;
        display: block;
    }
    a.grid-item[href="/work/sustainability"] h3:after {
        content: "subtitle 01";
    }
    a.grid-item[href="/work/colvin-characters"] h3:after {
        content: "subtitle 01";
    }

     

    Works like a charm!! a million thanks!

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