Jump to content

Ninja Kit Typewriter effect

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://bulldog-oriole-mnxr.squarespace.com

Hi! @IXStudio

Im fairly new to Squarespace and was trying to create a typewriter effect to a text on my site but wasnt quite able to get it running. Tho Im not quite sure why it doesnt work, I wondered if it needs a higher tier subscribtion? I currently have the cheapest one.

I have tried every way I can think of, and now Im stuck.

Site password: coco

Thanks!

Link to comment
  • Solution
6 hours ago, ConeCake said:

Site URL: https://bulldog-oriole-mnxr.squarespace.com

Hi! @IXStudio

Im fairly new to Squarespace and was trying to create a typewriter effect to a text on my site but wasnt quite able to get it running. Tho Im not quite sure why it doesnt work, I wondered if it needs a higher tier subscribtion? I currently have the cheapest one.

I have tried every way I can think of, and now Im stuck.

Site password: coco

Thanks!

You are missing jQuery, add this into first line of the header injection

<script src="assets/js/libs/jquery-3.6.0.min.js"></script>

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
1 hour ago, SapphireMuse said:

Hi, I've just installed the Ninja Kit Typewriter effect but the font is different from what I want. Is there any chance I can change it to match my site style?

What is your site url

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
9 hours ago, SapphireMuse said:

Hi,
Use this code in Design -> Custom CSS

div#ninja-elements.ix-block-ninja-custom-typewriter span {
    font-family: 'Poppins' !important;
}

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to comment
  • 7 months later...
  • 1 month later...
  • 4 months later...
On 9/6/2022 at 8:50 PM, kmdesign said:

Hi Leopold - love the ninja kit.  One question.  Despite the Mobile font size being set to 30px - both the static and typing text are much smaller on mobile.  Is there a fix?

Can you share link to page where you have problem? I think we can give code to adjust size

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
5 hours ago, tuanphan said:

Can you share link to page where you have problem? I think we can give code to adjust size

Hey there! @tuanphan Thanks again!!  Link to the page below. The type is in hero gallery image, the problem is with the size of the font in mobile only - it says it's set to 30px - but looks more like 16 to me.  Maybe it's auto-resizing?  

https://www.bvrconsulting.com/

 

Link to comment
16 hours ago, kmdesign said:

Hey there! @tuanphan Thanks again!!  Link to the page below. The type is in hero gallery image, the problem is with the size of the font in mobile only - it says it's set to 30px - but looks more like 16 to me.  Maybe it's auto-resizing?  

https://www.bvrconsulting.com/

 

Add to Design > Custom CSS

/* Ninja Typewriter on mobile */
@media screen and (max-width:767px) {
div#ninja-elements * {
    font-size: 30px !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...
  • 5 months later...

**EDIT: I figured it out. My Section ID was incorrect. Everything is good.

 

This is what I've got but the Custom CSS doesn't seem to be over-riding the HTML on the page. https://bit.ly/407Y9vv and the animation is still too small when in portrait mode. When in landscape the sizing is different and more like the desktop version.

This is the HTML

<div id="ninja-elements" class="ix-block-ninja-custom-typewriter"><div class="wrap"><div class="type-wrap" style="--ixTypeWriterFontSizeMobile: undefinedpx;"><span id="ixspeed"></span><div id="typed-strings" style="display: none;"><span>Professional</span><p>Reliable</p><p>Flexible</p></div><span id="before_typed" style=""></span><span id="typed" data-speed="150" data-backdelay="1500" data-loop="true" data-loopcount="1" data-fontsize="100px" data-weight="bold" data-writingtextfontweight="bold" data-writingtextfontsize="58" style="white-space: pre; font-size: 58px; font-weight: bold;"></span><span id="after_typed" style=""></span></div></div></div>

 

This is my Custom CSS

@media only screen and (max-width: 767px) { 
    div#ninja-elements.ix-block-ninja-custom-typewriter span#typed {
      font-size: 8vw !important;
      line-height: normal !important; 

 

I want to adjust to 66vw because I want the animation to extend over 2/3 of the portrait screen and I would like a 2.5 line-height because it is either too close or too far away from the other text and I want to see if that will solve my design issue.

 

Tips?

Edited by bwalkingd
Problem fixed.
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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