Jump to content

deaton72

Member
  • Posts

    104
  • Joined

  • Last visited

Posts posted by deaton72

  1. Site URL: https://corn-apricot-zn88.squarespace.com/

    We have a blog / portfolio that is pulled into a gallery and then filtered using the Universal filter. But, if you go to a project and then delete the last part of the url  /portfoliodetails/(delete whta is here) you get to the backend blog summary page. Is there any way to fix this or to hide the portfolio details page without disabling it? I tried a redirect, but nothing seems to happen! 

    I don't know who keeps backspacing rather than hitting the back arrow, but these backend pages are indexing in google and we don't want anyone to see them. 

     

    Thanks. 

     

     

  2. Hello

     

    I have a forced hamburger menu. The code stopped working today - the menu shows, but the pages are not clickable. I contacted SS and they said they did an update and something in my CSS isn't working. 

    It works except for formatting the text and the hover - but I can't figure out what they did. 

    HELP! It's our 75th anniversary this week and I need it fixed! 

     

    password is: Bassetti47!

  3. On 1/1/2022 at 12:26 AM, tuanphan said:

    Don't remove/edit any code

    Add this to SETTINGS > ADvanced > Code Injection > Header

    <style>
      .summary-v2-block.using-simple-filter .summary-item-list .summary-item {
        display: block !important;
    }
    </style>

     

    Hi @tuanphan It doesn't work. If I remove the !important from the 

    #block-206175b0d9ba3902e4c7 {.summary-item-list .summary-item:nth-child(n+28) {display: none!important;}}

    then it shows all the items on the front page. If I keep the !important, then it only show up to 28 on the filtered page. 

     

    There has to be a way to override it 🙂

     

  4. Site URL: https://corn-apricot-zn88.squarespace.com/portfolio

    This is from a FB page, but I still need help: I am not sure how to do what the respondent suggests - I have tried a ton of options to use the selector and override to show all the summaries under that filter. 

     

    I have a tough one: Someone HERE helped me with a code to limit the number of posts showing in a blog summary:
    #block-206175b0d9ba3902e4c7 {.summary-item-list .summary-item:nth-child(n+28) {display: none!important;}}
    BUT, I am using the Universal Filter and now it limits the number with anything filtered. I have the filter set so you can only choose one item at a time, so I am hoping there is a way to tell it to increase the number of summaries visible (n+36) during the Pre-K-12 filter.
    I tried something like .project-types-pre-k-12 {.summary-item-list .summary-item:nth-child(n+30) {display: none!important;}} BUT no luck.
    HELP!!! 🙂
     
    • Jay Van Dyke
      This is most likely the selector [data-filter-selectors=".project-types-pre-k-12"] instead of writing as a class like you have. You also might have to write a rule to override and show the two that are being hidden by the other rule. It is a class but only on the individual items not the list as a while like you have this written. Have you written to Michael on slack? Maybe there's something in the code to achieve what you want without using CSS.
       
      •  
      •  
         
         
        Jay Van Dyke I contacted him a couple months ago about limiting the posts for the splash page. His solution was to filter them out using an “init state” filter, but that ended up breaking something else (I don’t recall what).
        I was really hoping the block number would change with each filter, but that doesn’t happen.
        It is definitely the “data filter selectors.” I will see what I can do to override the N +28. Any thoughts if it is best to try it in CSS? Or to add a code block in the page?
         
  5. Site URL: https://corn-apricot-zn88.squarespace.com/portfolio

     I have our custom blog designed to have a two column right layout.

    It works perfectly and I don't want to change it, but I was wondering if there is any CSS to make the text flow EVENLY between the two columns. An example is this page: The left col. is much longer. https://corn-apricot-zn88.squarespace.com/values/sustainability

     

    current code: 

    .sqs-col-8 .html-block .sqs-block-content
     {column-count: 2!important; column-gap: 4%;margin-left: 3vw; margin-right: 12.5vw; padding: 0vw!important;  box-sizing: border-box!important; 
      }

  6. Site URL: https://corn-apricot-zn88.squarespace.com/milestones

    Hello!

    I  am using a timeline by Knightlab with several 1000 lines of css code. The code is so long, it takes up all the css space in SS, so I wanted to add a .css stylesheet. This is what I did:

    1) add a blank page to a folder (my code folder)

    2) add text "timeline.css and then link it to the uploaded .css file

    3) change the .css link in the original script so that it is the new stylesheet.

     

    Am I missing anything? Will it take a little while to show up? Right now the page looks like it has no css. 

     

  7. @paul2009  Okay. I tried to add the hooks with the code for the html call in between. This is also what a friend told me to do (after I showed him).

    Nothing is happening! I feel like something is missing at the front end. I don't know anything about hooks and minimal about these scripts. Just enough to mess things up 🙂  

     

     

    allItemsAddedFunction: function(sum_block, jsonData) {$(function(){
      $(".summary-title").each(function(){
        $(this).html($(this).text());
      });
    });  
                //runs after all of loaded items appended to summary block
            },
            refreshFunction: function(sum_block, jsonData) {$(function(){
      $(".summary-title").each(function(){
        $(this).html($(this).text());
      });
    });  
                //runs after refresh summary block (appending items, sorting..)
            }

     

  8. @bangank36

    It works for the first 30 summary items, but then won't work. 

    Because I am using the LAZYSUMMARIES script to load more than 30 I think that the .summary-title, may be called something else past 30, but I don't know what that is. 

    On this page: https://corn-apricot-zn88.squarespace.com/people  

    The html has the title divided into two lines of text, one red and one black. Carrie (first one in 6th row) and everyone after does not work. 

  9. Site URL: https://corn-apricot-zn88.squarespace.com/personnal

    I have a script on my site that allows HTML to be used in BLOG titles. 

    The issue is that I am also using the Squarewebsites "Lazysummaries" to have more than 30 show. 

    The AJAX works for the first 30, then it does not work. you can see at "Carrie" that her text is not split. (the 3-4 before her did not need a second line). I have tried various versions of adding .lazy-summary to the script  but nothing works and finding out what I need to do to get this working is beyond my skill set. 

    This is the code: 

     

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
    <script>
    $(function(){
      $(".summary-title").each(function(){
        $(this).html($(this).text());
      });
    });
    </script>

     

    no PW on site right now. 

     

  10. Site URL: https://corn-apricot-zn88.squarespace.com/

    I am using an initState filter in a script to give a blog block an initial view - using the universal filter. Does anyone know if I can do this for the blog itself and not through the filter.... I don't know anything about initstate. BUT, when I have it enabled for the blog summary, then whenever you back page from a filtered item it shows the init view again. 

     

    Hoping there's a workaround! 

  11. Site URL: https://corn-apricot-zn88.squarespace.com/bassettiportfolio

    I have made my universal filter stick, but it shifts up slightly when you scroll down.  Thoughts? I used this code.

    I had issues initially because the gallery wanted to scroll under the filter so you could see a sliver above it, so I played with the "top" position. Is there a way to make it not shift when it scrolls?  I tried removing padding on the summery block and filter container.

    ALSO - I cannot seem to get rid of the small grey line above the text. I have all borders set to 0.

     

    Code I used is: 

    /*universal filter*/
    /*position sticky*/

    body .custom-filter-container, .custom-filter-parent-node {
            overflow: visible;
            position: absolute;
        }
        .customFiltersWrapper {
            position: sticky!important;
            top: 170px; margin-bottom: 0vh;
        }


    #yui_3_17_2_1_1630531262614_676, #yui_3_17_2_1_1630530276084_720, #yui_3_17_2_1_1630531152613_1010 { margin-top: 0vh; padding: 0!important;}

    #block-6708d6bafe3faea67f02, #block-yui_3_17_2_1_1590076520498_4551, #block-206175b0d9ba3902e4c7 {padding-top: 0!important;}

     

     

    Thanks!

  12. Site URL: https://corn-apricot-zn88.squarespace.com/portfolio-test

    I know overlay doesn't work the same on mobile, BUT it works on my people page and values pages, but not on the portfolio-test page!!! 

    it is done slightly differently in the CSS - with the overlay in the portfolio-test being from the site styles of Squarespace.

    Is there a way to get the portfolio-test to work like the others on mobile? 

     

    no password

     

  13. Site URL: https://corn-apricot-zn88.squarespace.com/portfolio-test

    I have posted on the Uni filter slack site a few times, but no response. I have it set on a portfolio page where I can pull tags from the SEO. I labeled the tags in the SEO description as Tags: high school, middle school, but all that shows is the word All in the dropdown. 

    The developer said it works, but I must be typing something incorrectly! 

     

    no password on site

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