Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

SabineM

Circle Member
  • Content Count

    24
  • Joined

  • Last visited

Posts posted by SabineM

  1. @tuanphan

    Hi,  Tuan, thanks a bunch for the code snippet!

    It is exactly what I am looking for - tried it right now - but it doesn't work in a shop summery... it makes the first image invisible but the second isn't showing up  - there is only a white space the...

    This is the website and page  where I would like to us it:

    https://www.weingut-diehl.com/weinindex/#tasting-box-wahl

    In the "shop summery/preview" Squarespace does it as a standard feature - it would be perfect to have  the same in this first shop/product overview...

    https://weingut-diehl.squarespace.com/tasting-box

    do you have any idea? Thanks in advance!

    Sabine

  2. @kiiana

    Hi, If you are using one of the Brine - Family  Squarespace 7 Template  with a normal business plan this is a solution:
    1. Upload the file with the black logo : got to > design > custom CSS  >  Manage Custom Files (gray field at the bottom)> upload the image / logo
    Then make a space inside  the CSS window for it and clic on the image in the "file box"
    The image URL will be shown in the CSS box in a gray color. 

    2. Copy  the URL ( and delete it there after:-)  Save the URL somewhere.

    3. Then go to all pages where you want the black version and copy the code  below into the PAGE >  Header >Advanced > Code injection.
    replace the sample URL and put yours in. Thats it.

    Good luck.

    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    
    <script>
      $(function() {$('.Header-branding-logo, .Mobile-bar-branding-logo') .attr('src', 'https://static1.squarespace.com/static/longstringofnumbersandthenthefilename.jog
    </script>
  3. @ccrews  @AdrienneN @meocoli

    Hi everybody,

    I am quite new in CSS and have only some basic knowledge and experience 😉  but anyway I tried to find out how this could work...because I wanted it a lot !
    By a lot of trial & error & time. - and not sure if the code is really a solution without mistakes -   it works!

    Simple gallery: in Brine template and I used an index gallery with: layout slideshow, and the fixed height at 108vh. with 6 slides.

    #horizontal-gallery {
     width:600vw;
     margin-top:-5vw;
     margin-bottom:-5vw;
     overflow-x:scroll;
     overflow-y:hidden!important;
     position:absolut;
     }
    
    #horizontal-gallery
    .Index-gallery-item-image {
      width:100vw!important;
      max-height:105vh;
      margin-top:-0vw;
      padding-bottom:3.6vw;
    }
    
    #horizontal-gallery{
    article:nth-of-type(1){
      opacity:1.0;
      left:0vw!important;
      right:0vw;
    .Index-gallery-item-content
      {margin-left:-500vw!important;
    }}
     article:nth-of-type(2){
       width:100vw!important;
      left:0vw!important;
       opacity:1.0;
    } 
     article:nth-of-type(3){
        width:100vw!important;
     left:100vw;
    } 
     article:nth-of-type(4){
       width:100vw!important;
      left:200vw;
     } 
    article:nth-of-type(5){
      left:-200vw!important;
      .Index-gallery-item-content
      {margin-left:-500vw!important;
      }} 
    article:nth-of-type(6){
      left:-100vw!important;
      .Index-gallery-item-content
      {margin-left:-500vw!important;
      }}  
    }
    
    .Index-gallery-item-content-body p:nth-of-type(1){font-size:0.5em!important;
      color:#ccaa78;
     margin-top:-4vw!important;
    
    }

    A bit more complex is this version - but it's an entire index that works like this and so you are free with the content for each page. The scrolling go up and down while the window is horizontal - I love this !! 🙂Sometimes the browser blocks the scrolling until you make the window a tiny bit larger or smaller - do not know why....

    #collection-5f749ce77757eb5a41feb591{
    
    .Content-outer {
    -webkit-overflow-scrolling: touch!important;
      overflow-scrolling: touch!important;
      overflow-x:hiddden;
      overflow-y:scroll!important;
       -webkit-overflow-y:scroll!important;
      transform: rotate(270deg)   translateX(-100%);
      transform-origin: top left;
      top:0!important;
      position:absolute;
      width:100vh;
      height:100vw;
      top: 0vw;
      bottom:0vw;
      right: 0vw;
      left: 0vw;
    }}
    //turns/header/images
    #page-five,
    #page-four,
    #page-three,
    #page-two,.IndexFirstSectionHeight{
      transform: rotate(90deg)   translateY(-100vh)!important;
    transform-origin: top left!important;
     }
    //index first section
    #page-two{
    width:120vw;
    margin-top:4vw;
    margin-bottom:40vw;
    }
    #page-two{
    .Index-page-content.sqs-alternate-block-style-container{
    margin-bottom:10vw;
    margin-left:-5%;
    }}
    #page-three {.Index-page-content{
      position:absolute;
      margin-top:20vw!important;
      display:flex;
      flex-direction:column;
     align-items: center;
      justify-content:center!important;
      display: flex;
      flex-wrap: wrap; 
    }}
    
    #page-five,
    #page-four,
    #page-three {
    width:100vw;
    }
    
    #page-four{margin-left:0vw;
       width:100vw;
     margin-top:45vw;  //is left:
      margin-bottom:45vw; //is right:
      #block-yui_3_17_2_1_1601546029396_3755{
        width:40%;
        margin-left:30%; } 
      #block-b1eda712c8f4ae9551f1{
        width:100%;
        padding:0;
      }
    }
    .Index-nav{
      display:none!important;}
    
    .Index-page-scroll-indicator{
     transform: rotate(-90deg) translateY(0px)!important;  
    margin-bottom:4vw;
      margin-left:-15vw!important;
    }

    To all of you much more experienced guys - if you see some mistakes - please let me know.  

     

    here is the demo site:

    https://my-personal-test.squarespace.com/

    the pw is:  luck

     

  4. 1.  Typing the text you will see the in this black text box. And the possibility to make the chosen text bold or italic. Italic is shown with this “/“ slash sign.

    2.  In  the style panel you can choose three headings h1 h2 h3 and normal. This is the same with all templates. So you will have 4 different possibilities.
    the font it self if serif or what ever you want - can be chosen in the style panel. than you can define whether you want capitalized or normal you can give each of them a different size. Same with line hight, and character distance.

×
×
  • Create New...