Jump to content

Mystah

Member
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Mystah

  1. Hi and thanks Melody, But I don't think that is the issue due to he tried all solutions what I can see on his site now. Also I have tried without success. I think there must be some other solution, Squarespace own site hasn't follow your suggestions and still works for them. Also I checked a lot other basic sites that succeeded without this suggestions implemented. Even if you just search for SquareSpace Forum on Google the name is correct and not only its webpage url.
  2. Hi, i can’t find anywhere to change this row, anyone knows? Other pages i search has this row changed.
  3. Hi, is it possible to only hide all single blog posts (items) on Google search, but not the blog main page? Link to blog main page that i only want to be seen: https://www.ikiv.se/nyheter Now you can see single blog posts but not the main blog page:
  4. Thanks mate! That worked! Then i have one more question. Is it possible to use an CSS code instead of JavaScript coding to get the date the way i have it now inside blog posts (items)? Also when im trying to use this on the first page for the Summary block, some of the "News" get invalid date, you know how to fix that? <script> document.addEventListener("DOMContentLoaded", function(event) { var dateMeta = document.querySelector('[itemprop=datePublished]'); if (dateMeta != null) { var publishedDate = new Date(dateMeta.content); var dateElem = document.querySelector('time span'); updateDateElement(dateElem, publishedDate); } else { var times = document.querySelectorAll('time'); for (var i = 0; i < times.length; i++) { var dateElem = times[i]; var publishedDate = new Date(dateElem.innerHTML); updateDateElement(dateElem, publishedDate); } } }); function updateDateElement(elem,date) { var dateFormat = { year: 'numeric', month: 'numeric', day: 'numeric' }; var newFormat = date.toLocaleDateString(undefined, dateFormat); elem.textContent = newFormat; } </script>
  5. I manged to add "|" but i can't get rid of the "•" with this code (maybe im getting close?): .summary-metadata--primary:after { content: "|"; font-weight: 500; padding-left: 0.25px; padding-right: 4.5px; } Now its looking like this: " Göteborg • | 8 juli 2023 "
  6. Summary block under nyheter / news: backup-20230726.squarespace.com ; pass: 048900 Under "Äldre inlägg"/"Older posts" i managed to change it without any code. Also under Read more specifik post, the picture is above the text, you guys know how to make it like the two first pages?
  7. Hi, I cant find anywhere to change delimiter style on a summary block, does it needs coding? Inside the "blog", there is an option to change it. For example its now stating: "Göteborg • 8 juli 2023", but i want: "Göteborg ┃ 8 juli 2023"
  8. Hi, Thanks, but then the month dissapears. i want for example "13 nov. 2023". I tried dd mmm yyy and d mmm yyy, but then there is no "." after abbreviated months, and the months are in english and not swedish..
  9. Hello, I found a code that almost works for me but the problem is that in Swedish text the dates is abbreviated, so for example November shows strange: 11 nov., 2023. How to get rid of the "," between date and year? <script> var a=['\x73\x6c\x69\x63\x65','\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63\x74\x6f\x72','\x6d\x65\x74\x61\x5b\x69\x74\x65\x6d\x70\x72\x6f\x70\x3d\x22\x64\x61\x74\x65\x50\x75\x62\x6c\x69\x73\x68\x65\x64\x22\x5d','\x63\x6f\x6e\x74\x65\x6e\x74','\x69\x6e\x6e\x65\x72\x54\x65\x78\x74','\x54\x68\x69\x73\x20\x73\x69\x74\x65\x20\x75\x73\x65\x73\x20\x61\x20\x63\x6f\x64\x65\x20\x73\x6e\x69\x70\x70\x65\x74\x20\x63\x6f\x70\x79\x72\x69\x67\x68\x74\x65\x64\x20\x62\x79\x20\x5b\x73\x66\x2e\x64\x69\x67\x69\x74\x61\x6c\x5d','\x74\x69\x6d\x65\x2e\x64\x74\x2d\x70\x75\x62\x6c\x69\x73\x68\x65\x64\x2e\x62\x6c\x6f\x67\x2d\x6d\x65\x74\x61\x2d\x69\x74\x65\x6d\x2e\x62\x6c\x6f\x67\x2d\x6d\x65\x74\x61\x2d\x69\x74\x65\x6d\x2d\x2d\x64\x61\x74\x65\x20\x73\x70\x61\x6e','\x44\x4f\x4d\x43\x6f\x6e\x74\x65\x6e\x74\x4c\x6f\x61\x64\x65\x64'];(function(b,e){var f=function(g){while(--g){b['push'](b['shift']());}};f(++e);}(a,0x180));var b=function(c,d){c=c-0x0;var e=a[c];return e;};window['\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69\x73\x74\x65\x6e\x65\x72'](b('\x30\x78\x37'),c=>{console['\x6c\x6f\x67'](b('\x30\x78\x35'));var d;if(d=document[b('\x30\x78\x31')](b('\x30\x78\x36'))){var e=document[b('\x30\x78\x31')](b('\x30\x78\x32'))[b('\x30\x78\x33')];postYear=e[b('\x30\x78\x30')](0x0,0x4);d[b('\x30\x78\x34')]=d[b('\x30\x78\x34')]+'\x2c\x20'+postYear;}}); </script>
×
×
  • 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.