Jump to content

tuanphan

Circle Member
  • Posts

    64,963
  • Joined

  • Last visited

  • Days Won

    517

Posts posted by tuanphan

  1. On 3/14/2023 at 7:42 PM, vinniemac said:

    What I'm trying to achieve is each navigation item on a separate line

    Workshops

    Buy Prints

    Galleries

    etc etc

    Text left justified, but centred between the logo and the shopping cart icons.

    Use this new code

    /* Force desktop menu on Tablet - Version 1 */
    @media screen and (max-width:991px) {
    .header-display-desktop {
        display: flex !important;
    }
    .header-display-mobile {
        display: none;
    }
    .header-burger {
        display: none;
    }
        .header-nav nav {
            flex-direction: column;
        }
    .header-nav {
        display: flex !important;
        flex: 70% !important;
        justify-content: flex-end;
        width: 70% !important;
    }
    .header-title {
        flex: 50% !important;
    }
        .showOnMobile .header-actions-action.header-actions-action--cart {
        display: none;
    }
    }

     

  2. On 3/14/2023 at 6:02 PM, JonnyIlsley said:

    Did anyone find a solution to this? 

    I am trying to achieve something similar using the :not function however for a summary block.

    Thanks

    This is my current code:

     

    //Hover Summary Blocks of Project Thumnails - Summary Block Appearance//
    @media screen and (min-width:800px){
      .summary-item:not(#block-yui_3_17_2_1_1678287406551_217495) {
        //only use position relative with carousel summary block
        position: relative;

        img {
          //transition: all .5s ease!important;
        }

        .summary-content {
          position: absolute;
          color: #fff!important;
          top: 50%;
          left: 50%;
          width: 80%;
          opacity: 0!important;
          pointer-events: none;
          transition: all .5s ease!important;
          transform: translate(-50%, -50%)!important;
          -webkit-transform: translate(-50%, -50%)!important;
          -ms-transform: translate(-50%, -50%)!important;
          -moz-transform: translate(-50%, -50%)!important;
        }
        .summary-title, .summary-metadata--primary, .summary-metadata--secondary, .summary-excerpt   {
          color: #fff!important;
        }
      }
      .summary-item:hover {
        img {
          -webkit-filter: brightness(25%);
          filter: brightness(25%);
        }

        .summary-content {
          opacity: 1!important;
        }
      }
    }
     

     

    Change this class name

    .summary-item:not(#block-yui_3_17_2_1_1678287406551_217495)

    to this

    .summary-v2-block:not(#block-yui_3_17_2_1_1678287406551_217495)

     

  3. On 3/14/2023 at 12:44 AM, Vessall said:

    This is the exact embedded code I am using from webiste toolbox


    <!--Begin Website Toolbox Community Embed Code-->
    <div id="wtEmbedCode"><script type="text/javascript" id="embedded_forum" src="https://forum.vessall.com/js/mb/embed.js" data-version="1.1" ></script>
    <noscript><a href="https://forum.vessall.com/">Vessall Boating Community </a></noscript></div>
    <!--End Website Toolbox Community Embed Code-->
     

    Hi,

    You try adding this code to Page Header (Page where you will use Forum) instead of using Site wide Code Injection

  4. On 3/14/2023 at 5:38 AM, studiojacandco said:

    That's much better, thank you!!

    Do you know how I can make the related product image/s the same size & shape as the product image? Currently the main product is square but my related product is portrait/rectangle.

    Add to Design > Custom CSS

    /* Related Products */
    .ProductItem-relatedProducts .grid-image-wrapper {
        padding-bottom: 100% !important;
    }

     

  5. On 3/14/2023 at 4:42 AM, freedomfung852 said:

    Hi Tuan, yes that's correct - only moving the "An inspiring read...beautifully." text to be above the image, while the position of the rest stays the same.

    Thanks again
    Freeman

    Try this new CSS code

    #block-yui_3_17_2_1_1671854349186_13556 .summary-title {
        position: absolute;
        top: -33px;
        left: 0;
        width: 100%;
    }
    #block-yui_3_17_2_1_1671854349186_13556 .summary-item {
        position: relative;
    }

     

  6. On 3/13/2023 at 11:46 PM, dieslaughing said:

     

    #1. THANK YOU, worked like a charm.

    #2: I would like to have the details be: Product Name, Price, Details, Accordion, then Quantity and Add to Cart on same line.

    #3: Unfortunately this didn't work for me; attaching screenshot of what happened. 

    Thank you so much, @tuanphan!

    Lolly Willowes — Dymaxion Press (3).png

    #2. Don't remove any code in your current code. Add this to Design > Custom CSS
     

    /* Mobile Product Detail Order */
    @media screen and (max-width:767px) {
    .ProductItem-details-excerpt {
        order: 2 !important;
    }
    }

    #3. Use this CSS code

    @media screen and (max-width:767px) {
         .sqs-add-to-cart-button-wrapper {
            width:70% !important;
            float: left;
            margin-bottom: 0 !important;
            position: relative;
            bottom: 100px;
            right: 0;
            left: 110px;
        }
        .product-quantity-input {
            width: 30% !important;
            float: left !important;
        }
    }

     

  7. On 3/14/2023 at 4:12 AM, kkester said:

    Thanks! So I added it and it looks great, however it doesn't link to the event page. What am I doing wrong? 

    https://tivoliartistsgallery.com/exhibit-schedule/#current

    Remove it & use this new code

    body#collection-63568b0531815f2ea12da3eb .summary-title-link:after {
        content: "Read more";
        font-size: 14px;
        color: var(--paragraphLinkColor);
        font-family: Work Sans;
        font-weight: 400;
        font-style: normal;
        letter-spacing: 0em;
        text-transform: none;
        position: absolute;
        bottom: 20px;
        left:0;  
    }

     

  8. On 3/14/2023 at 3:34 AM, NMcMurray said:

    Thanks Tuan, that worked great. One last question, on some pages i need the background to be half navy and half white ( like the home page), but on others the navy needs to go all the way across (which is what the above code does). How would I apply the colour to only half the section? 

    Thanks again!

    Hi,

    Can you share link to 2 pages? We can test code easier

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