www.webdeveloper.com
Results 1 to 4 of 4

Thread: Add icon/text based on date

  1. #1
    Join Date
    Mar 2014
    Posts
    2

    Add icon/text based on date

    Hi folks. I am new to this forum and hope someone can help with a question.

    I would like to modify my CSS associated with a blog. I would like to include text or an icon in a blog title, such as the word "NEW" for posts that are recently added, but which will disappear after 2 days. Think of the red bold word "NEW" on CNN.com news entries, which will disappear after a day or so. I am hoping just a tweak to CSS will do it, but also understand that I may need to use Javascript as well.

    Any ideas? Many thanks.

  2. #2
    Join Date
    Mar 2012
    Posts
    1,188
    You can't do that with CSS. Are you using a CMS (Wordpress, Joomla etc.)? In which case, which?

  3. #3
    Join Date
    Mar 2014
    Posts
    2
    Actually, it's Blogger. I can go in and change the attributes of post titles in the CSS file, but now want to add this "time stamp" feature.

  4. #4
    Join Date
    Mar 2012
    Posts
    1,188
    Hopefully someone familiar with Blogger will be able to advise...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles