Jump to content

hannahnowlan

Member
  • Posts

    35
  • Joined

  • Last visited

Reputation Activity

  1. Love
    hannahnowlan reacted to tuanphan in [Share] Accordion Block: Useful code   
    Which accordion title/text?
    With newsletter, use this CSS code
    @media screen and (max-width:767px) { .newsletter-block .newsletter-form-fields-wrapper *, footer.sections .newsletter-form input, footer.sections .newsletter-form input::placeholder { text-align: center !important; } .newsletter-block .newsletter-form-wrapper--alignRight .newsletter-form-field-wrapper { width: 100% !important; } .newsletter-form-body { text-align: center; } }  
  2. Like
    hannahnowlan reacted to tuanphan in Edit Footer Newsletter Button On Hover   
    Hi,
    Add this to Design > Custom CSS
    footer.sections button.newsletter-form-button.sqs-system-button.sqs-editable-button-layout.sqs-editable-button-style.sqs-editable-button-shape.sqs-button-element--primary { background-color: transparent !important; color: white !important; border-color: white !important; }  
  3. Thanks
    hannahnowlan got a reaction from creedon in Add Newsletter Block to Accordion Block   
    Hey! Epic! This solves it once again, massive thanks!
  4. Like
    hannahnowlan reacted to creedon in Add Newsletter Block to Accordion Block   
    Did you add a the following ruleset to your page header code injection?
        <style>       form {         width: 75%;         height: auto;         margin: auto;         position: right;       }   </style> If so, remove it, make a copy somewhere. When I removed it things got better.

  5. Like
    hannahnowlan reacted to creedon in Add Newsletter Block to Accordion Block   
    I'm sure there is some CSS that could be applied to make things better. I don't have a full solution off the top of my head.
    The job of my code is to get one element to move to another location, something that SS doesn't do by default. Because we are moving elements around and putting them into places SS didn't design them to go we are on our own. My code is unaware of all the complexities of where the element came from and what it replaced.
    It looks like you are making some progress on getting a right alignment?
  6. Thanks
    hannahnowlan reacted to creedon in Add Newsletter Block to Accordion Block   
    Sure.
    Find this line.
    '#block-yui_3_17_2_1_1685497007975_12606' : '#block-7f008b6ac76561de264c' Change to the following.
    '#block-yui_3_17_2_1_1685497007975_12606' : '#block-7f008b6ac76561de264c .accordion-item .accordion-item__description p'  
×
×
  • 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.