Styling "You must be logged in" comments - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Styling "You must be logged in" comments

  • Styling "You must be logged in" comments
  • Is there a way to add a css style to the line "You must be logged in" when you enable comments for only registered users?
  • 323172_styleComments.JPG
    Hello Amanda,

    What you're asking for is achievable. You can add styles with a css widget on the page where you've put news items. Properties should be declared to the <p> child element  of the div with ID C001_newsFrontendDetails_ctl00_ctl00_DetailsView_ctrl0_commentsDetailsView_commentsDetailsView_ctl00_ctl00_anonymousUserContainer. Take a look at the sample:
    #C001_newsFrontendDetails_ctl00_ctl00_DetailsView_ctrl0_commentsDetailsView_commentsDetailsView_ctl00_ctl00_anonymousUserContainer p
    background-color:red;

    Kind regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items