Jump to content

amatho20

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by amatho20

  1. Sweet! Only thing i noticed after the fact is that while this hides the draft project from being displayed on the portfolio page, it does not hide it within the pagination navigation between project pages (the arrow's at the bottom of any of your projects linking to the next). My first work around was to slap more simple code in to not display those navigation arrows at all, and add thumbnail links manually. .item-pagination { display: none; } but adding in thumbnails manually to every page is a pain, and eventually got to this solution which I feel works more harmoniously with the original fix as it relates to the "draft" in your url slug. .item-pagination-link[href*="draft"] { display: none; } Hopefully these work arounds won't be necessary soon...
  2. Running into problems with the suggested code fix as well- Part of the problem might be that I have a personal account and am using the portfolio as my home page (it appears custom code isn't available to the homepage on a personal account). I tried creating a new portfolio page that isn't used as the homepage, and still the code doesn't appear to be working. I'm not getting any errors, the project is still accessible and visible on the portfolio page EDIT: Actually i think i got it sorted: I pulled a different bit of code from another one of Tuanphan's Posts and removed some of the more specific bits to that comment. a.grid-item[href*="/draft"] { display: none; } Now it hides any url I add draft too (i've been adding it to the start of the URL, don't know if that is making a difference) even when it is a portfolio page being used as the home page. Hope this helps others... Ultimately this really shouldn't be so complicated, but I'm glad there's at least an active forum to support these issues.
×
×
  • 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.