Jump to content

Ziggy

Circle Member
  • Posts

    7,798
  • Joined

  • Last visited

  • Days Won

    90

Posts posted by Ziggy

  1. I often find that the block order in the HTML code is determined by the order in which the blocks were created not the order they are in on the page. If that's correct, then the order that the accessibility focus outline appears in will follow that same path and the way to correct it will be to systematically add blocks in the order in which you want to be able to tab through the content. This might involve rebuilding sections. 

  2. Hmm, not sure why that wasn't excluding the other elements, try one of these:

    @media only screen and (max-width:767px) {
      .user-items-list-banner-slideshow .slides {
        width: 98%;
      }
    }

    Or this:

    @media only screen and (max-width:767px) {
      .user-items-list-banner-slideshow .slide {
        margin: 0 24px;
      }
    }
  3. 12 hours ago, sINK said:

    (it does what I hoped it would do), but it screws up the sidebar category placement on desktop.

    If you wrap the entire code in a media query it wont affect the desktop view:

    @media only screen and (max-width:767px) {
      // Show category nav links 
      div.nested-category-tree-wrapper {
        display: flex !important;
        float: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
      }
      section.products.collection-content-wrapper.products-list {
        flex-direction: column !important;
        display: flex;
      }
      .nested-category-tree-wrapper>ul {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .nested-category-tree-wrapper>ul li {
        margin-left: 2vw;
      }
      nav.nested-category-breadcrumb {
        display: none !important;
      }
      ul.nested-category-children {
        display: none !important;
      }
      li.category-item:first-child a {
        padding-bottom: 0 !important;
      }
    
      div.nested-category-tree-wrapper ul {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
      }
    
      .products.collection-content-wrapper .nested-category-tree-wrapper>ul>li:first-child a {
        padding-bottom:0px!important;
      }
    }

     

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