thinkepic 2 Share Posted June 16, 2013 (edited) Can you provide me with some code that I can inject into individual blogs so that it removes the date on individual posts in that blog? Would be much appreciated. Thanks in advance! Edited August 5, 2016 by Testing2134 retag chelseamarino 1 Link to post
4 rlr297 83 Solution Share Posted February 13, 2015 (edited) If you use right-click and inspect the element (the date on the blog post) it will reveal a class. In my template it is the following: <time class="published" datetime="2015-02-13" id="yui_3_17_2_2_1423862213264_2970">February 13, 2015</time> The class of the date element is published. I can then open up the Custom CSS Editor and enter the CSS below and quickly get rid of the date. As you can see the class is referred to with a dot “.” .published { display: none } Edited February 13, 2015 by rlr297 Link to post
2 eanderson 11,864 Share Posted June 17, 2013 Post a link to your site so the community can help. Template Developer at Squarespace, @esquareda on Twitter. Link to post
2 weddingsites 42 Share Posted June 17, 2013 I'm wondering the same thing - would love to have the dates show on my main blog - but the section{s} that I'm running as a directory - I want to have the dates hidden. Right now I have the dates hidden on all pages which isn't my ideal choice. Link to post
1 colin.irwin 17,548 Share Posted June 17, 2013 (edited) <style> .post-meta { visibility: hidden } </style> Edited June 17, 2013 by silvabokis rutheastelow 1 Please hit LIKE to share your appreciation of posts that are helpful or useful. The like button is somewhere over there Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here Link to post
0 thinkepic 2 Author Share Posted June 17, 2013 Thanks very much! However it doesn't work :( see http://thinkepic.net/principles/ Any ideas/help would be much appreciated. Link to post
0 eanderson 11,864 Share Posted June 17, 2013 (edited) Always be sure to remove any code you add that does not work. To add this snippet of custom CSS to your site, just click the CSS button inside the Style Editor and paste the code below: .display-icons-in-post-footer .entry-date { display: none; } That should do the trick. To hide the date only in one specific blog, preface this code with the unique collection id class found on the BODY tag. In your case, this class is collection-51bbee6be4b0405092e5f752 – so the snippet would look like this: [code].collection-51bbee6be4b0405092e5f752.display-icons-in-post-footer .entry-date { display: none;} Edited June 18, 2013 by eanderson Template Developer at Squarespace, @esquareda on Twitter. Link to post
0 thinkepic 2 Author Share Posted June 17, 2013 Great thanks very much. I've got several blogs on the site and I want to show the dates on all of the blogs but one. Will this stop the dates on all blogs? Is there a way to just stop dates on one blog? Thanks very much! Link to post
0 thinkepic 2 Author Share Posted June 17, 2013 Thanks heaps, gave it a go and it didn't work :( Link to post
0 eanderson 11,864 Share Posted June 18, 2013 Looks like it worked ... I'm not seeing a date in your Principles blog. Template Developer at Squarespace, @esquareda on Twitter. Link to post
0 nathan.j.p 585 Share Posted January 12, 2014 @eanderson I tried the code you supplied above on this page -> www.weatherbrand.com/darkchamberindex Im not seeing any results. any suggestions. Im sure I have the correct collection id but maybe I'm wrong. Thanks for your help. Link to post
0 caitlin1570048596 0 Share Posted February 6, 2019 (edited) This worked to hide the date on my blog summary page (Thanks!), but the date still shows up on each blog post associated with that particular blog. What do I add to to hide those? Edited February 6, 2019 by caitlin Initial Revision Link to post
0 smross 0 Share Posted April 1, 2019 I used this video to help, https://www.youtube.com/watch?v=Z9zm5EbPmsk. This is the code I used for the Hayden template:.entry-dateline a { display: none;} Link to post
0 spotonlynne 35 Share Posted December 4, 2019 On 6/17/2013 at 9:05 PM, eanderson said: Always be sure to remove any code you add that does not work. To add this snippet of custom CSS to your site, just click the CSS button inside the Style Editor and paste the code below: .display-icons-in-post-footer .entry-date { display: none; } That should do the trick. To hide the date only in one specific blog, preface this code with the unique collection id class found on the BODY tag. In your case, this class is collection-51bbee6be4b0405092e5f752 – so the snippet would look like this: [code].collection-51bbee6be4b0405092e5f752.display-icons-in-post-footer .entry-date { display: none;} Hi. I am trying to do exactly the same thing with a site I am creating. Where do I find the collection id class for my blog. The site is https://heseltinegallery.squarespace.com (pw: michael) and the blog page I want the dates not to show on is Meet the Committee. Any help would be greatly appreciated. Thank you. Lynne Link to post
0 spotonlynne 35 Share Posted December 4, 2019 Hi. I am trying to do exactly the same thing with a site I am creating. Where do I find the collection id class for my blog. The site is https://heseltinegallery.squarespace.com (pw: michael) and the blog page I want the dates not to show on is Meet the Committee. Any help would be greatly appreciated. Thank you. Lynne Link to post
Question
thinkepic 2
Can you provide me with some code that I can inject into individual blogs so that it removes the date on individual posts in that blog?
Would be much appreciated.
Thanks in advance!
Edited by Testing2134retag
Link to post
Top Posters For This Question
4
3
2
1
Popular Days
Jun 17
7
Dec 4
2
Feb 13
1
Jun 16
1
Top Posters For This Question
thinkepic 4 posts
eanderson 3 posts
spotonlynne 2 posts
colin.irwin 1 post
Popular Days
Jun 17 2013
7 posts
Dec 4 2019
2 posts
Feb 13 2015
1 post
Jun 16 2013
1 post
Popular Posts
colin.irwin
<style> .post-meta { visibility: hidden } </style>
15 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment