Changing post comment layout?

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

This one:

 

http://i56.tinypic.com/2ih5p5d.jpg

 

Thanks

Jan 24, 2011 at 4:40 PM

Bump

Jan 25, 2011 at 6:57 AM

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

Coordinator
Jan 25, 2011 at 8: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 6: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?

 

Thanks

Jan 25, 2011 at 7: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
http://www.mooglegiant.net/post/2011/01/19/Dynamic-Aging-Buckets-in-SSRS.aspx?theme=GreyShadow

... and changed the colorscheme
http://looksharp.dk/post/2011/01/02/VMware-Virtual-Network-Editor.aspx#comment

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 2:56 PM

Can you post the css for that?

 

Only the bits that effect it.

 

Thanks :)