-
Posts
42 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by emilykrause
-
-
@tuanphan Here's a video example of the content "zooming" on the homepage top section - this behavior only happens on mobile phone in the first sections of the page.
-
@fleet @tuanphan I have the same problem on multiple 7.1 sites...The content appears to get larger when scrolling only on mobile devices. Do you know why this happens and how to fix it? For example, schrothdc.com
-
-
-
On 8/14/2020 at 10:23 AM, RyanDejaegher said:
<script> (function(){ window.addEventListener('load', function() { var characterCount = 140 var blogParagraph = document.querySelectorAll('.BlogList-item-excerpt p') var trail = "..." // Shorten a string to less than maxLen characters without truncating words. function shorten(str, maxLen, separator = ' ') { if (str.length <= maxLen) return str; return str.substr(0, str.lastIndexOf(separator, maxLen)); } blogParagraph.forEach(item => { item.textContent = shorten(item.textContent, characterCount) + trail; }) }) })() </script>
@RyanDejaegher I followed your instructions and pasted the code in the footer but for some reason I am not seeing the result. Will you please help me troubleshoot? I would love to get the Squarespace Read More link to work as @StoriedCorey has got it. Here is the blog link: https://wynweightloss.com/blog The site build is currently in progress.
-
I would love to know how to shorten the excerpt with css code! I am using the Brine template. Can you please check out this site? I appreciate it!
https://wynweightloss.com/blog
Text and image "grow" when scrolling down from top of page on mobile
in Site Design & Styles
Posted
KristiHanson, what did you do to fix the font from zooming? Apologies if I'm missing it. Thanks for clarifying.