Jump to content

L_Gal

Circle Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by L_Gal

  1. Site URL: https://www.yespeach.com.au/

    Hi, I'm trying to recreate this 

    https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_overlay_fade

    Currently I can sort of get it. However when my fade comes in it fades my text as well. Here is what I have...

    figure.gallery-masonry-item {

        position: relative;

    }

    .gallery-caption {

        position: static;

    }

    /* title */

    .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;

    }

    .gallery-masonry-item:hover .gallery-caption-content {

        opacity: 1 !important;

    }

    /* overlay */

    .gallery-masonry-item-wrapper a:after {

        background: rgba(0,0,0,0.5); /* overlay color */

        content: "";

        display: block;

        position: absolute;

        top: 0;

        left: 0;

        right: 0;

        bottom: 0;

        opacity: 0;

        transition: opacity ease 200ms !important;

    }

    .gallery-masonry-item:hover .gallery-masonry-item-wrapper a:after {

        opacity: 9.75;

    }

    .gallery-masonry-item * {

        color: white;

    }

    /* remove gap */

    figcaption {

        padding: 0 !important;

    }

     

    /*text color size in masonry gallery*/

    .gallery-caption * {

    color: #000000 !important;

    font-size: 30px !important;

      text-align: center;

    }

     

     

    /*creates opaque rollover effect for regular image blocks*/

    .gallery-masonry-item:hover {

    background-color: #525a5c; opacity: 0.3; transition: all .5s ease-in-out;}

     

     

  2. Site URL: https://www.yespeach.com.au/

    Hi, Could someone help me please? 

    I have images on my page with text. The text is 'heading 2'.

    Problem 1
    When the width of the page is getting close to changing to mobile the text is too big and gets split over two lines. Can I make the site change to mobile sooner so the images don't stay in four columns and get too small? 

    Problem 2
    In mobile, the image is huge! Can I make the images be in two columns, rather than one? so 2 images over 2 lines. 

    Thank you in advance!

    image.png

    image.png

    Screen Shot 2022-04-28 at 3.19.44 pm.png

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