Jump to content

thisismikejones

Circle Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by thisismikejones

  1. 18 minutes ago, tuanphan said:
    
    <svg class="svg--source" width="0" height="0" aria-hidden="true">
      <symbol id="svg--twitter" viewbox="0 -7 15 30">
        <path d="M15.36 3.434c-0.542 0.241-1.124 0.402-1.735 0.476 0.624-0.374 1.103-0.966 1.328-1.67-0.583 0.346-1.23 0.598-1.917 0.733-0.551-0.587-1.336-0.954-2.205-0.954-1.668 0-3.020 1.352-3.020 3.019 0 0.237 0.026 0.467 0.078 0.688-2.51-0.126-4.735-1.328-6.224-3.155-0.261 0.446-0.41 0.965-0.41 1.518 0 1.048 0.534 1.972 1.344 2.514-0.495-0.016-0.961-0.151-1.368-0.378 0 0.013 0 0.025 0 0.038 0 1.463 1.042 2.683 2.422 2.962-0.253 0.069-0.52 0.106-0.796 0.106-0.194 0-0.383-0.018-0.568-0.054 0.384 1.2 1.5 2.073 2.821 2.097-1.034 0.81-2.335 1.293-3.75 1.293-0.244 0-0.484-0.014-0.72-0.042 1.336 0.857 2.923 1.357 4.63 1.357 5.554 0 8.592-4.602 8.592-8.593 0-0.13-0.002-0.261-0.009-0.39 0.59-0.426 1.102-0.958 1.507-1.563z"
        />
      </symbol>
    
      <symbol id="svg--facebook" viewbox="0 -7 16 30">
        <path d="M12 3.303h-2.285c-0.27 0-0.572 0.355-0.572 0.831v1.65h2.857v2.352h-2.857v7.064h-2.698v-7.063h-2.446v-2.353h2.446v-1.384c0-1.985 1.378-3.6 3.269-3.6h2.286v2.503z" />
      </symbol>
      <symbol id="svg--youtube" viewbox="-150 -150 800 800">
        <path d="M459,61.2C443.7,56.1,349.35,51,255,51c-94.35,0-188.7,5.1-204,10.2C10.2,73.95,0,163.2,0,255s10.2,181.05,51,193.8
    			C66.3,453.9,160.65,459,255,459c94.35,0,188.7-5.1,204-10.2c40.8-12.75,51-102,51-193.8S499.8,73.95,459,61.2z M204,369.75v-229.5
    			L357,255L204,369.75z" />
      </symbol>
    
    </svg>
    
    <div class="wrapper">
    <div class="connect">
      <a href="" class="share twitter">
        <svg role="presentation" class="svg--icon">
          <use xlink:href="#svg--twitter" />
        </svg>
        <span class="clip">TWITTER</span>
      </a>
      <a href="" rel="author" class="share facebook">
        <svg role="presentation" class="svg--icon">
          <use xlink:href="#svg--facebook" />
          <span class="clip">FACEBOOK</span>
        </svg>
      </a>
      <a href="" class="share  youtube">
        <svg role="presentation" class="svg--icon">
          <use xlink:href="#svg--youtube" />
          <span class="clip">YOU-TUBE</span>
        </svg>
      </a>
      <a href="" class="share  instagram">
        <svg role="presentation" class="svg--icon">
          <use xlink:href="#svg--instagram" />
          <span class="clip">INSTAGRAM</span>
        </svg>
      </a>
    </div>
    </div>
    <style>
      .clip {
      border: 0;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    .svg--source {
      display: none;
    }
    
    .svg--icon {
      width: 100%;
      max-width: 5rem;
      height: 100%;
      max-height: 5rem;
      display: block;
      margin: 0 auto;
      fill: currentColor;
    }
    
    .wrapper {
      width: 100%;
      height: 100vh;
      display: -webkit-box;
      display: flex;
      flex-wrap: wrap;
      -webkit-box-align: center;
              align-items: center;
      -webkit-box-pack: center;
              justify-content: center;
      padding: 1rem;
    }
    
    .share {
      width: 5rem;
      height: 5rem;
      float: left;
      margin: .5rem 1rem .5rem 0;
      color: #353c4a;
      border: .125rem solid #f3f3f3;
      box-shadow: 0 0 8px 0 rgba(50, 50, 50, 0.15);
      border-radius: 50%;
      -webkit-transition: 250ms;
      transition: 250ms;
    }
    .share:last-child {
      margin-right: 0;
    }
    .share:focus {
      outline-color: inherit;
    }
    
    .twitter:hover, .twitter:focus {
      color: #00ACED;
      box-shadow: 0 0 24px 0 #00ACED;
    }
    
    .youtube:hover, .youtube:focus {
      color: #cd201f;
      box-shadow: 0 0 24px 0 #cd201f;
    }
    
    .facebook:hover, .facebook:focus {
      color: #3b5998;
      box-shadow: 0 0 24px 0 #3b5998;
    }
    .instagram:hover, .instagram:focus {
      color: #3b5998;
      box-shadow: 0 0 24px 0 #3b5998;
    }
    </style>

     

    @tuanphan So I tried adding it that way before as well and it doesn't pull an icon for Instagram. I just tried copying yours and got the same issue. Any other thoughts?

     

     

    Screen Shot 2020-04-21 at 9.16.32 AM.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.