Jump to content

adc

Circle Member
  • Posts

    5
  • Joined

  • Last visited

adc's Achievements

  1. I'm trying to do the same thing on a page I'm working on, and I'm not getting the desired effect. if someone could take a look and let me know what I'm doing wrong, I would greatly appreciate it! www.dreammarketinggroup.com. Trying to get the 'DREAMVS' navigation link to display a logo. Thanks in advance
  2. This issue has not been solved. Please see attached images to better understand what I'm referring to. If you would like to provide the code to adjust the spacing for tablet you can just for my better understanding, but the client has not requested that be changed. Thanks.
  3. When you click 'Brands' a Newsletter Block appears but it doesn't say: Name Phone Number Email Address it instead has the default placeholder text for a newsletter block: First Name Last Name Email Address The code is suppose to change the placeholder text but it doesn't appear that way once the hidden content is revealed upon the button click of the 'Brands' tab.
  4. Site URL: https://www.athlytic.io I'm having an issue with a client site where I am attempting to change the placeholder text on a newsletter block. I have added the following script to my code injection footer, however, it is not changing: <script> if (document.querySelector("#block-yui_3_17_2_1_1616980347389_14059")) { document.querySelector('.newsletter-form-field-element[name="fname"]').placeholder = 'Name'; document.querySelector('.newsletter-form-field-element[name="lname"]').placeholder = 'Phone Number'; document.querySelector('.newsletter-form-field-element[name="email"]').placeholder='Email Address'; } </script> I'm assuming, it's because there is an embedded script within a section on the homepage that is being ran, which hides a portion of content within that section until a button is clicked. The following code has been applied to the code injection for the home page specifically to get the button to toggle the content on and off <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script> <style> .button-section{text-align:center;border-radius:6px;width:350px;display:flex;flex-flow:row wrap;align-items:center;margin:auto;box-sizing:border-box;padding-bottom:35px} .button-single{text-transform:uppercase;font-size:.7em;text-align:center;letter-spacing:.2em;vertical-align:middle;box-sizing:border-box;width:50%} .button-left{border-top-left-radius:10px 10px;border-bottom-left-radius:10px 10px} .button-right{border-top-right-radius:10px 10px;border-bottom-right-radius:10px 10px} </style> I need both scripts to work but my knowledge of Javascript is extremely limited and I am struggling getting the newsletter block to display the correct placeholder text for the client. Any and all help is extremely appreciated.
×
×
  • 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.