Jump to content

creedon

Circle Member
  • Posts

    9,462
  • Joined

  • Last visited

  • Days Won

    78

Posts posted by creedon

  1. There probably wasn't an answer because no one provided a URL to a product page with variants. Although many of the elements of SS are the same, because SS allows you to add custom code it is critical that folks asking questions provide the URL to the page they are having issues on. That way we can provide the best answer possible, instead of guessing at an answer.

    You can try the following. Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

    <style>
    
      .product-details .variant-select-wrapper::after {
      
        --size : 0.5rem;
        
        height : var( --size );
        width : var( --size );
        transform-origin : bottom;
        
        }
        
      </style>

    This is for v7.1.

    Let us know how it goes.

  2. 9 hours ago, Zewel said:

    But it says Syntax Error on line 1.

    Page Settings > Advanced > Page Header Code Injection don't report syntax errors. It sounds like you are talking about Design > Custom CSS.

    If I had to guess you've put a <style> tag in Design > Custom CSS. Design > Custom. CSS doesn't understand HTML tags.

  3. Quote

    CSS code to outfox the template, and create additional gallery pages?

    CSS can not make the kinds of changes you want. CSS is to change how things look. It can't be used to change the underlying structure of pages.

    Quote

    Montauk has limit of 8 gallery pages.

    This sounds a bit odd to me. Are you saying you have 8 gallery pages and that you are unable to add any more to the site?

    1288199824_ScreenShot2022-08-23at2_00_35PM.png.d06da20ac62a5857b646ca9cc9f9cbc4.png

     

    1017266796_ScreenShot2022-08-23at2_03_09PM.png.950f762922ec203e9f5bb9aeb0e37a23.png

    Is it possibly the case that the site is on one of the legacy plans that have a total page limit?

  4. 4 hours ago, mariescantrol said:

    Why couldn't you implement a feature just like for SEO search where we can enable/disable blog posts to show up in the search bar?

    I just don't see this happening. The site search feature has been broken for years and SS has not fixed it. Search is unreliable.

    Quote

    My goal is to have all blog posts never show up in squarespace search bar because we want to focus on searching for specific keywords with products.

    Add the following to Design > Custom CSS.

    .sqs-post:not( .sqs-post-type-store-item ) {
    
      display : none;
      
      }

    I haven't tested this extensively but this should hide all non product items.

    Keep in mind that this just hides things. So you can end up with a page full of nothing which may throw folks off thinking that there are no results. It really isn't an ideal solution.

    If search is mission critical to your site then SS search is not a good solution. You should look to something like Google's Programmable Search Engine.

  5. Add the following to Design > Custom CSS.

    .header-title::after {
    
      content : 'Strategic, entrepreneurial, and enterprise development';
      display : block;
      font-style : italic;
      margin-top : 1em;
      
      }

    This is for v7.1.

    Let us know how it goes.

  6. The site is private.

    Please set up a site-wide password,.

    Post the password here.

    Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

    Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

    We can then take a look at your issue.

  7. Quote

    I'd like to remove this arrow that automatically shows up when you select the option for the Title of the Blog to link externally.

    Add the following to Blog Settings > Advanced > Page Header Code Injection for the blog page. Please see per-page code injection.

    <style>
    
      .passthrough-link:after {
      
        content : unset;
        
        }
    	
      </style>

    This is for v7.1.

    Let us know how it goes.

  8. Please post the URL for a page on your site where we can see your issue.

    If your site is not public please set up a site-wide password, if you've not already done so.

    Post the password here.

    Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

    Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

    We can then take a look at your issue.

  9. Add the following to Design > Custom CSS.

    @media only screen and ( min-width : 800px ) {
    
      .products.collection-content-wrapper .nested-category-tree-wrapper > ul > li:first-child,
      .tweak-products-breadcrumbs .products.collection-content-wrapper .nested-category-breadcrumb
      
        {
        
          display : none;
          
          }
          
      }

    This is for v7.1.

    Let us know how it goes.

  10. 10 hours ago, ShineOnEditingSOE said:

    Is there a way to make the sale price the one in white, and the original price in grey?

    I have updated my previous post.

    If you want to apply this effect to all on sale items you don't have to add a tag to the sale items. SS provides a CSS class for on sale items.

    <style>
    
      /* product price and sale price reverse tagged */
      
      .products.collection-content-wrapper .grid-item.on-sale .grid-prices .product-price,
      .ProductItem.on-sale .ProductItem-details .product-price
      
        {
        
          display : -webkit-box;
          display : -ms-flexbox;
          display : flex;
          
          -webkit-box-orient : horizontal;
          -webkit-box-direction : reverse;
          -ms-flex-direction : row-reverse;
          flex-direction : row-reverse;
          
          gap : 1em;
          
          -webkit-box-pack : left;
          -ms-flex-pack : left;
          justify-content : left;
          
          }
          
      /* product price and sale price color change */
      
      .products.collection-content-wrapper .grid-item.on-sale .sqs-money-native,
      .ProductItem.on-sale .ProductItem-details .product-price .sqs-money-native
    
        {
        
          color : unset;
          
          }
          
      .products.collection-content-wrapper .grid-item.on-sale .original-price .sqs-money-native,
      .products.collection-content-wrapper .on-sale .original-price
      
        {
        
          color : #a8a6a1;
          
          }
          
      </style>

     

  11. On 8/19/2022 at 6:58 AM, Eric401 said:

    Is not working for my store

    It's not working because the code was designed for v7.1 as stated in my March 28, 2021. Your site is v7.0 using the Brine template family.

    Quote

    You can see that the vertical images are displaying as horizontal.

    Please point me to a specific image that is vertical so I don't have to search through all of them to figure out which are tall and which are wide.

  12. 6 hours ago, davedrew said:

    To extend this, is there a way to apply this to each individual item page within that gallery?

    I'm not sure I understand where you want to apply the effect. The code currently targets the product grid pages of a Store page.

    If you link me directly to a page where you want to apply the effect I may be able to help.

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