Jump to content

abbyleebonny

Member
  • Posts

    17
  • Joined

  • Last visited

Posts posted by abbyleebonny

  1.  

    @Alan-Squareflair I have used this code for one of my 7.0 sites but trying to do it on another of my sites and it is not working - it looks like the option to turn on "SOCIAL SHARING" in the Site Styles has been removed? 

     

    Can you help me add the 'additional info' below the product description?

     

    Site URL: https://www.mac.ac.nz/he-ngakau-maori-toku/te-whare-tapu-o-te-ngakau-maori-preorder

    I have successfully used it here on this site: https://theguthealingprotocol.com/store/organic-grass-fed-beef-liver-capsules

     

    Thank in advance

    image.thumb.png.1f160945a7b77a45a3110d60565f7a75.png

    On 8/31/2020 at 2:14 PM, Alan-Squareflair said:

    Yes, you can do this using jQuery. 

    Add this to your PAGE HEADER CODE INJECTION— in the settings on your main product page.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
    <script>
      window.Squarespace.onInitialize(Y, function(){  
      $('section.ProductItem-additional').appendTo('.ProductItem-details-share');
    });
    </script>

     

    http://share.sqr.fr/SopdM2x+/Screen+Shot+2020-08-30+at+10.12.16+PM.png 

    Notes:
    1. this assumes you're not running jQuery on the site; if you are, you can just use the second script.

    2. The template I'm using is MOJAVE in the Brine Family (7.0), although this should work for most 7.0 templates. 

    3. You have to make sure that SOCIAL SHARING is turned on in the Design Styling area— as that's the container I'm using to hold the additional content. It's a little hacky, but it was the easiest way to make it happen.

    http://share.sqr.fr/7CAmcyI+/Screen+Shot+2020-08-31+at+9.55.42+AM.png

     

     

  2. Site URL: https://dekanstudios.com/home

    Hi there 

    I would like to change the cart bag/cart icon so it says "CART" with the cart quantity in brackets next to it, as in the screenshot "CART (01)" - this used to be an option, however in 7.1 I can't see an easy change - I have tried the custom-css below, however the cart quantity doesn't sit nicely next to the text "CART" on desktop or mobile.

    Thank in advance!

     

    This is the code I have used to get to where I am now with the out of line text and quantity:

     

    //CART FROM ICON TO WORD//
       .header .header-actions-action--cart .icon {
        
          height : unset;
          width : unset;
          
          }
          
        .icon-cart-quantity {
        
          all : unset;
          
          }
          
        .Cart-inner .icon--cart { /* remove cart icon */ 
        
          display : none;
          
          }
          
      .Cart-inner { /* common settings */
      
        font-family : 'Univers+LT+55+Roman.ttf';
        color : #151515 ;
        font-weight : 400;
        line-height : 1.3;
        letter-spacing : 0.00;
        font-size : .8rem;
        vertical-align : middle;
        content: "CART";

        }
        
      // CART QUANTITY // 
      
        .icon-cart-quantity {
        
          background-color : ;
          padding : px;
          
          }
        
        body:not( .header--menu-open ) .header-actions .icon-cart-quantity {
        
          color : ;
             font-weight : 400;
        letter-spacing : 0.0em;
              font-size : .9em;
        margin-right : 0.5em;
          }
      
    //CART TEXT//
      .Cart-inner:before {   /* cart text */
      
        content : 'CART';
        color : #151515;
        font-weight : 400;
        letter-spacing : 0.00em;
            font-size : .9em;
        margin-right : 0.em;
        
        }

     

    image.png.c489b598ab48918f402eec5054e5b813.pngimage.png.4136b45999ba50b86029532fa2e3007f.png

     


     

  3. Thank you so much @tuanphan - I've got another couple for you...

     

    1. On mobile homepage I would like the title/menu nav etc to be white as you have helped me with but I would like it to be black once they have opened the menu. see screenshots attached.

     

    2. Can I reduce the size of the menu "X" button so it is smaller (and black)?

     

    3. I have uploaded a custom font, however on the site, including when I go from homepage to menu the custom font seems to lag and for a split second the allocated Squarespace font shows up before the custom font shows.

     

    4. I would like to reduce the cart text and quantity size on mobile only so that it shows on the same line if i change it to .8em it fits on one line but is too small for desktop - I have used the code here to change the shopping car picture to the word 'cart' :

     

    //CART FROM ICON TO WORD//
       .header .header-actions-action--cart .icon {
        
          height : unset;
          width : unset;
          
          }
          
        .icon-cart-quantity {
        
          all : unset;
          
          }
          
        .Cart-inner .icon--cart { /* remove cart icon */ 
        
          display : none;
          
          }
          
      .Cart-inner { /* common settings */
      
        font-family : 'Univers+LT+55+Roman.ttf';
        color : #151515 ;
        font-weight : 400;
        line-height : 1.3;
        letter-spacing : 0.00;
        font-size : .9em;
        vertical-align : middle;
        content: "CART";

        }
        
      // CART QUANTITY // 
      
        .icon-cart-quantity {
        
          background-color : ;
          padding : px;
          
          }
        
        body:not( .header--menu-open ) .header-actions .icon-cart-quantity {
        
          color : ;
             font-weight : 400;
        letter-spacing : 0.0em;
              font-size : .9em;
        margin-right : 0.5em;
          }
      
    //CART TEXT//
      .Cart-inner:before {   /* cart text */
      
        content : 'CART';
        color : #151515;
        font-weight : 400;
        letter-spacing : 0.00em;
            font-size : .9em;
        margin-right : 0.5em;
      }

    Screen Shot 2022-07-17 at 3.24.50 PM.png

    Screen Shot 2022-07-17 at 3.24.41 PM.png

  4. On 3/6/2022 at 8:47 PM, Jia said:

    Hi, add this code to custom css. Let me know how it goes 🙂 

    h1 a, h2 a, h3 a, p a {
      text-decoration: none !important;
    }
    
    h1 a:hover, h2 a:hover, h3 a:hover, p a:hover {
      text-decoration:underline;
    }

    Hi @Jia - I tried your code and while it removed the underline from links it doesn't have the underline when the mouse is hovered over the links. Do you have any suggestions?

     

    website: www.dekanstudios.com/home

  5. 11 hours ago, tuanphan said:

    Add this to Design > Custom CSS to align both

    footer.sections .newsletter-block .newsletter-form-body {
        display: flex;
        align-items: flex-end;
    }
    footer.sections .submit-wrapper {
        padding-bottom: 0px !important;
    }

     

    Thank you so much for your help  @tuanphan - when we have tried to make the cart button white with a black border it has affected what the newsletter button in the footer looks like... we had used code to turn the footer button into a black line, however changes to the cart checkout button have changed the newsletter button to white text with white outline instead of the black under line like the email address 'box' has - are you able to help?

     

    This is the code we have for footer and cart checkout button.

     

    .checkout-button {
        background: white !important
    }

    div.item-quantity input, button.checkout-button {
        border: 1px solid black !important;
    }

    footer.sections input[type="text"] {
        background: transparent;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
    }footer.sections input[type="text"] {
        border-color: black;
    }
    footer.sections input[type="text"]::placeholder {
        color: black !important;
    }
    /* Footer Join button */
    footer.sections .sqs-block-newsletter .newsletter-form-button {
        background-color: transparent !important;
        border-bottom: 1px solid;
    }

    footer.sections .newsletter-form-field-wrapper {
        padding: 0 !important;
        margin-right: -5px;
    }
    footer.sections .field-error {
        background-color: white !important;
        color: black !important;
    }

    footer.sections .newsletter-block .newsletter-form-body {
        display: flex;
        align-items: flex-end;
    }
    footer.sections .submit-wrapper {
        padding-bottom: 0px !important;
    }
     

    Screen Shot 2022-03-24 at 9.33.34 AM.png

  6. 23 hours ago, tuanphan said:

    Add to Dsesign > Custom CSS

    div.item-quantity input, button.checkout-button {
        border: 1px solid black !important;
    }

     

    Thank you @tuanphan - that's amazing! Are you able to please help me, I have set my purchase buttons to 'outline' with black text, however when I hover over it the whole button turns black... Do you have custom css so that when it is hovered over the border and text remain black but the background turns from my site colour to white?

     

     

    Screen Shot 2022-03-23 at 8.46.05 PM.png

    Screen Shot 2022-03-23 at 8.50.34 PM.png

  7. 18 minutes ago, tuanphan said:

    Try this CSS

    footer.sections .newsletter-form-field-wrapper {
        padding: 0 !important;
        margin-right: -5px;
    }
    footer.sections .field-error {
        background-color: white !important;
        color: black !important;
    }

     

    Thank you - the colours worked but the email address line and join line still go out of alignment - any ideas how to fix that?

    Screen Shot 2022-03-21 at 11.02.01 AM.png

    Screen Shot 2022-03-22 at 4.34.42 PM.png

  8. Hi there, thanks for this, I have been able to change the colour of my "checkout" button with the above code... wondering if I can get help for creating a black outline around my checkout button and the box which shows the quantity? Also for making the lines around the item and the words "item, quantity and price" on my shopping cart page black? 

    Screen Shot 2022-03-18 at 1.42.12 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.