Jump to content

Smartyart

Circle Member
  • Posts

    13
  • Joined

  • Last visited

Reputation Activity

  1. Love
    Smartyart got a reaction from laura-doval in Accordion With A Button Inside - Without Changing ALL Links on the Page   
    Site URL: https://cat-wedge-xh9c.squarespace.com/programs
    I'm trying to create a list of the programs and services that we offer at the Community Center where I work. We're a small non-profit which is why I am doing 20 jobs and learning them as I go. I want two buttons to appear inside each accordion drop-down. One that says "Learn More" and one that says "Volunteer". I've figured out how to get the button in there. I've even figured out how to make it look decent, but it is changing EVERY link/button on my page when I do that and making them all look crazy. Here is the code I was using. I don't even remember where I found it. (The button won't link to google, obv, I just haven't gotten very far yet.) The password to the website is: bft2020 
    <style> a:link, a:visited {
      background-color: #00B0B9;
      color: white;
      padding: 14px 25px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
    }
      </style>
    <a href="https://google.com" target="_blank">Volunteer</a>

  2. Love
    Smartyart reacted to tuanphan in Accordion With A Button Inside - Without Changing ALL Links on the Page   
    Add to Home > Design > Custom CSS
    div#block-yui_3_17_2_1_1599105038088_23671 a { background-color: #00B0B9; color: white; padding: 14px 25px; text-align: center; text-decoration: none; display: inline-block; }  
  3. Like
    Smartyart reacted to tuanphan in Smoothly Transition to Change Background Color on Scroll   
    They used this code
    [data-section-id="5f473814f0f6cc540dfff7e5"] .section-background { background-image: linear-gradient(100deg,#3874ba,#edccc9) !important; background-size: 400% !important; text-fill-color: transparent; -webkit-text-fill-color: transparent; -webkit-animation: Gradient 10s ease infinite !important; -moz-animation: Gradient 10s ease infinite !important; animation: Gradient 10s ease infinite !important; } Each section has different ID. Use this tool to find id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en
×
×
  • 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.