1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Date formatting with blogsummary

Date formatting with blogsummary

4 posts, 0 answered
  1. Kwinten Volckaert
    Kwinten Volckaert avatar
    41 posts
    Registered:
    01 Mar 2005
    14 Aug 2008
    Link to this post
    I wanted to do the following put the day in 13pt and the rest of the date in 11pt. I can use some formatting in the dateformatstring but when i put a font tag inside it parses it to date and time items...I can't seem to put another control on the repleater and simply put another datetimecontrol there. what would be the best sollution. I'm using 3.2 SP2 1611


    <sfCtrl:DateTimeLiteral runat="server" ID="Publication_date" DateFormatString="dd<br/>MMM yy">

    </sfCtrl:DateTimeLiteral>

  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    14 Aug 2008
    Link to this post
    Hello Kwinten Volckaert,

    I believe you could achieve this through use of CSS pseudo class called "first-line". You can find out more about this concept at this page:
    http://www.w3schools.com/CSS/CSS_pseudo_elements.asp   

    I hope you'll find this information helpful. Let us know if there is anything else we can do for you.

    Best wishes,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Kwinten Volckaert
    Kwinten Volckaert avatar
    41 posts
    Registered:
    01 Mar 2005
    14 Aug 2008
    Link to this post
    Perfect, I didn't know they existed!
  4. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    14 Aug 2008
    Link to this post
    Hi Kwinten Volckaert,

    We are glad to be able to help. Let us know if there is anything else we can do for you.

    Best wishes,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered