-
Posts
900 -
Joined
-
Last visited
-
Days Won
1
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by melody495
-
Countdown Timer Code Causing Javascript Error across website
melody495 replied to BlateCo's topic in Code Blocks
Ah, you were adding it to the script tag. Side note, instead of 'module' you can more directly use 'defer'. I normally would use DOMContentLoaded for situations where I need to read from the DOM. 'defer' is run before DOMContentLoaded. It seems to be working for you, but if you do run into issues, then using DOMContentLoaded would work for what you are doing. Good luck! -
Countdown Timer Code Causing Javascript Error across website
melody495 replied to BlateCo's topic in Code Blocks
I'm not sure what "module" is, is this a third party plugin you're using? But glad it's all working for you! -
Hi, please share your website link so we can check easier. What is your header style set as? Do you have custom code to modify the header?
-
Hi, you should be able to change the CTA button in the header in Site Styles. Site Styles -> click on Button -> bring to edit page In terms of the code flashing up on load, you should put the CSS code in Website -> Website Tools -> Custom CSS. Remove from code injection, this would not have changed your button font, as this is just text you've added to the footer.
-
Image blocks on a page with Gallery light box features
melody495 replied to DamonCameron's topic in Code Blocks
Hi, is this what you are looking for? -
Site Style Color won't change after CSS adjustment
melody495 replied to spmentor's topic in Fonts, colors and images
Hi, each theme can be customised individually. Make sure you are on the section/page that you want to customise -> Site Styles -> click on the relevant theme you want to change (in the red circles below) If this doesn't work then please provide screenshot and descript of what you are changing and how it has not changed. -
Countdown Timer Code Causing Javascript Error across website
melody495 replied to BlateCo's topic in Code Blocks
Hi, sounds like you have put the code in Site Wide code injection, so it is in every page. If you only want this on a specific page, please put the code in the code injection of that page only. In terms of your issue, I went back to look at your post again, your console already tells you what the issue is. That 'textcontent' is null. So at the point of the code being run, there is nothing in 'textcontent'. The footer is being run at website load, so it's likely not when you want to run your code. I suggest you wrap your code in document ready or domcontentloaded. $(document).ready(function () { } -
How to make border flush with video (change aspect ratio?)
melody495 replied to Andrea_K's topic in Customize with code
You are very welcome 🙂 -
Countdown Timer Code Causing Javascript Error across website
melody495 replied to BlateCo's topic in Code Blocks
Hi, can you let me know where you've placed the code? -
Have you tried selecting the text, then toggle Italic? It doesn't work by just selecting the text block, need to select the text.
-
Hi, please try copy and pasting as plain text, otherwise it will try and preserve and match your formatting, which often doesn't work out. Please note SquareSpace doesn't monitor this forum for issues, this is a peer-to-peer forum to help others. Please contact SquareSpace if you wish to raise an issue with functionality of the platform. https://support.squarespace.com/hc/en-us/requests/new
-
Pacific Template: Change H1 on mobile only
melody495 replied to peek20a's topic in Customize with code
Hi, what do you want to change for H1 on mobile? e.g. colour? font size? For all H1 on mobile or just those 3 you've listed? -
Hi, if none of your CSS code is taking effect, then there is a syntax error in your code. If that is the case, please copy and save all code somewhere, then remove everything in Custom CSS. You can then add one block of code back at a time, to make sure each is working as expected. You should be able to find the culprit fairly quickly.
-
Countdown Timer Code Causing Javascript Error across website
melody495 replied to BlateCo's topic in Code Blocks
Hi, I haven't gone through the full code, but this here is missing the closing </br>. Try that and let me know how it goes. -
How to make border flush with video (change aspect ratio?)
melody495 replied to Andrea_K's topic in Customize with code
Hi, try replacing with this code instead? Let me know how it goes. .sqs-block-video .sqs-native-video { border: solid 4px #000369 !important; } -
Multi-level Dropdown Overlay Menu on Mobile
melody495 replied to LucyBold's topic in Customize with code
Hi, you can't do this in SquareSpace. Please see this post for some 3rd party or custom code solutions https://forum.squarespace.com/topic/146886-how-do-i-put-a-folder-within-a-folder-in-the-navigation/- 1 reply
-
- custom-css
- overlay
-
(and 1 more)
Tagged with:
-
Hi, desktop and mobile have different aspect ratio, so they will look different. Do you have an mock up of how you want both the desktop and mobile to look? I suggest make the desktop version how you want then there are a couple of options to edit the mobile version, depending on how you want the mobile to look.
-
Changing the background color for form error messages
melody495 replied to jsh0re's topic in Fonts, colors and images
Hi, please share a link to your website so we can check easier -
Sounds like what you were doing affected the site. If you have a way of putting your site back to before you tried removing code, you can investigate from there. If not, you should get a developer to look at the problem for you.
-
Hi, please see this post How to Post a Forum Question
-
Changing the background color for form error messages
melody495 replied to jsh0re's topic in Fonts, colors and images
You're welcome, glad it worked! -
Changing the background color for form error messages
melody495 replied to jsh0re's topic in Fonts, colors and images
Try this in your Custom CSS instead .sqs-block-form .form-field-error { background-color: black !important; } Let me know how it goes. -
Search bar customizing input field text
melody495 replied to ShortAngryViking's topic in Customize with code
I tested for this website. Try putting the below code in your Code Injection, Footer. I used the code from the video, just changed the selector to the specific ID, because that search bar html is structured differently. Let me know how it goes, or if you need help with the other website. <!-- ===== Adjust Search Block Placeholder Text From Will-Myers.com ========== --> <script> window.addEventListener('DOMContentLoaded', changeSearchPlaceholder); function changeSearchPlaceholder() { let newText = "Search Me"; let searchBars = document.querySelector('#yui_3_17_2_1_1699789732927_371'); searchBars.forEach(el => el.placeholder = newText) } </script>- 5 replies
-
- coding
- custom-css
-
(and 1 more)
Tagged with: