Jump to content

tuanphan

Circle Member
  • Posts

    64,819
  • Joined

  • Last visited

  • Days Won

    517

Posts posted by tuanphan

  1. On 4/15/2023 at 2:26 AM, jonuehring said:

    @tuanphan I have a pop-up with the image/text side-by-side layout: https://revivalskinartistry.com/

    Is there a way to use this code to show the image above the text on mobile? with that CSS it shows on mobile but only behind the text 

    Use this new code

    @media screen and (max-width:767px) {
    .sqs-popup-overlay-content .sqs-slide {
        position: fixed !important;
        bottom: 0 !important;
    }
    .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] .sqs-slice-gallery-item.loaded img {
        opacity: 1 !important;
    }
    .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="gallery"] {
        display: block !important;
    }
    .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] {
        z-index: 1000 !important;
    }
     .sqs-slice-group.group-copy.copy-layer-background {
        z-index: 99999999;
        background-color: transparent !important;
        top: 50%;
    }
    a.sqs-popup-overlay-close {
        z-index: 9999999 !important;
    }
        .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slide-layout-id="overlay-center-card-02"] [data-slice-type="gallery"] {
            width: 100% !important;
            height: 50% !important;
        }
        .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .layer-front, .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .sqs-slide-layer-content {
            height: 500px !important;
        }}

     

  2. On 4/13/2023 at 5:36 PM, Gaby_M said:

    I'm looking to replace FR | EN | DE | NL 

    language switchers on my header with a simple V arrow menu.  This is a temporary work-around, but still one or other of the options obscures another.  Site is live at https://xn--laflnerie-e2a.com/.

    I use Shift template.

    Thanks in advance for any suggestions.

    Add to Design > Custom CSS

    ul.cf>li:last-child .folder-parent>a>span:before {
        content: "\e009";
        font-family: 'squarespace-ui-font';
        font-size: 18px;
    }
    ul.cf>li:last-child .folder-parent>a>span {
        font-size: 0;
    }

    image.png.ae4f8662c6858ed79110024672b8839b.png

  3. On 4/12/2023 at 1:31 PM, CooperLandingFishingGuide said:

    /* Nav menu active link color */
    body:not(.tweak-transparent-header) .header-nav-wrapper .header-nav-item--active a {
      color: #337ab7;
    }

    /* Basic table styling */
    table.minimalistGrey {
      width: 100%;
      text-align: left;
      border-collapse: collapse;
    }
    table.minimalistGrey td, table.minimalistGrey th {
      padding: 5px 4px;
    }
    table.minimalistGrey tr:nth-child(odd) {
      background: #d6cfbd;
    }

    /* Shrink mobile nav menu font */
    @media screen and (max-width:767px){
      .header-menu-nav-item a {
          font-size: 1.3rem;
      }
      /*and shrink gmap*/
      .sqs-block-content > iframe {
        width: 330px;
      }
    }

    /* Attempt always-full-width banner */
      @media screen and (max-width:767px) {
        #page section:first-child {
            min-height: 32vh !important;
              height: 32vh !important;
        }
      }
    /* End always-full-width homepage banner attempt*/

    Change last code

    /* Attempt always-full-width banner */
      @media screen and (max-width:767px) {
        #page section:first-child {
            min-height: 32vh !important;
              height: 32vh !important;
        }
      }

    to this

    /* Attempt always-full-width banner */
      @media screen and (max-width:767px) {
        #page article section:first-child {
            min-height: 32vh !important;
              height: 32vh !important;
        }
      }

     

  4. On 4/12/2023 at 3:32 AM, sammy_m-h said:

    Hi @tuanphan – I think I am trying to do something similar...

    I would like to change the width of the individual blog posts for just one of my blogs. One is the 'News' (PW: Artcoustic) and one is a blog I have used for the 'Projects'. The projects one is a different layout that I would like to keep at full width and I would like to change the width of all content on the 'News' version only.   

    Thanks a lot

    Change on list page or list + individual posts?

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