Jump to content

rabidzoomonkey

Member
  • Posts

    7
  • Joined

  • Last visited

Everything posted by rabidzoomonkey

  1. After switching templates all of your pages and content should be in the not linked section. The demo content is only added so you can see the various features and styles of the new template. https://support.squarespace.com/hc/en-us/articles/205815598-Switching-templates-in-version-7-0#toc-step-3---preview-the-template (That first link was messed up I think, oops! This one should load)
  2. A transfer authorization code is sent to your domain contact email address after you unlock the domain. If you registered it less than 60 days ago though, you won't be able to transfer it to a new host. You can still point it to Wix like @paul2009 recommended. They already shared Wix's guide with steps - Connecting or Transferring a Domain Purchased Elsewhere to Your Wix Account Squarespace has one for pointing to non-Squarespace sites, too - Point to a non-Squarespace site (Sorry if I shouldn't have tagged in this case, I'm new to forum etiquette)
  3. When this happens to me it's usually because the blocks are overlapping. When the site is viewed in different screen sizes the content will adjust to fit. If the blocks are overlapping, text and other content inside the blocks might start to overlap. If you make sure the edges of the blocks aren't overlapping, this shouldn't happen.
  4. Found a very helpful post related to this in another thread:
  5. Wow this is so incredibly helpful!! Thank you so much @paul2009!! I fiddled around with the code you created and made a version that accounts for holidays. I thought I'd share it here in case it helps anyone else. Also, I'm not a very experienced coder, so I'd love to learn if there's a more efficient or better way to do this! I added this part below "Store opening hours" to define the holidays: // Define holidays (without the year) in "MM-DD" format const holidays = [ "12-25", // Christmas Day "01-01", // New Year's Day // Add more holidays (MM-DD format) as needed ]; I added this after "Get the current day and time" to check if it's currently a holiday: // Function to check if the date is a holiday (without the year) function isHoliday(date) { const month = date.getMonth() + 1; // Month is zero-based, so add 1 const day = date.getDate(); const monthDay = `${month < 10 ? '0' : ''}${month}-${day < 10 ? '0' : ''}${day}`; return holidays.includes(monthDay); } Then I modified the last "Check if the store is open" section: // Check if the store is open const isHolidayToday = isHoliday(today); if (isHolidayToday || storeHours[currentDay].open === "Closed" || storeHours[currentDay].close === "Closed") { openingHours.textContent = "Sorry, the store is closed today."; } else { // Code to handle open hours const openTime = storeHours[currentDay].open; const closeTime = storeHours[currentDay].close; openingHours.textContent = `Today's opening hours: ${openTime} - ${closeTime}`; } EDIT: Originally the code had to include the year. This edited version should work for the MM-DD format, so no year is required.
×
×
  • 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.