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

Forums / Designing & Styling / Styling "You must be logged in" comments

Styling "You must be logged in" comments

2 posts, 0 answered
  1. Amanda Shafer
    Amanda Shafer avatar
    198 posts
    Registered:
    12 Oct 2012
    19 Dec 2011
    Link to this post
    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?
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    21 Dec 2011
    Link to this post
    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
2 posts, 0 answered