This project is read-only.

Changing post comment layout?

Topics: ASP.NET 2.0
Jan 23, 2011 at 8:00 PM

This one:



Jan 24, 2011 at 5:40 PM


Jan 25, 2011 at 7:57 AM

Please can someone tell me from where, this is the last thing i need to modify.

Jan 25, 2011 at 9:16 AM

The HTML markup in your screenshot is coming from CommentView.ascx in the "User Controls" folder.

If needed, you could modify the markup in that file ... although that markup is not theme specific .. it is used across all themes.

But since all the fields are already there, it's likely that you don't need to modify the markup.  Instead, all that looks like is needed is to apply some CSS to the comment form.  You can apply CSS in your theme's CSS file.

The Standard theme, for example, is applying styles to the comment form in its style.css file.  It does this by applying various styles to the HTML elements in the "commentForm" DIV.  A few examples in the Standard theme's style.css file are:

.commentForm textarea { ......... }
.commentForm label { ............. }
.commentForm select { ......... }
#commentMenu{ .......... }

Jan 25, 2011 at 7:10 PM

Ok i got it now, althou the changes are pretty limited when you cant touch the real source.


Do you have a link to a theme which customizes it to make it look professional?



Jan 25, 2011 at 8:34 PM
TheGateKeeper wrote:

Do you have a link to a theme which customizes it to make it look professional? 

Depends a bit what you mean by "professional"
A site should reflect it's purpose and needs nothing more nothing less

I have taken a theme called GreyShadow

... and changed the colorscheme

Suit my needs perfectly :)
By time I might change controls etc to use the Sencha javascript framework but the theme will remain as is

Jan 26, 2011 at 3:56 PM

Can you post the css for that?


Only the bits that effect it.


Thanks :)