oh forgot to say i started out with the k2 theme and making my own
style with k2 as a base if it has any importance as to how to solve
the problem
On 31 Aug, 09:46, eternal243 <[EMAIL PROTECTED]> wrote:
> i'm not much of a coder, i do know a bit of html and css, but not php.
>
> i'm currently trying to create my own theme for my site and i've run
> into a problem, i want to style the box where every comment is located
> AND i want to style comments differently for the post author.
>
> in the style.css
>
> if i style "li.bypostauthor" or "li.byuser" the comments will be
> styled differently for registered users, but comments posted by a
> visitor will go unstyled, then i found the "commentlist li {}" but if
> i tried to style that one it would override the styling made to
> "li.bypostauthor" and "li.byuser".
>
> i guess what i need is to go into the comments.php and insert a check
> looking something like this
>
> if commentauthor =! postauthor || user {
> then {create class li.byvisitor }
> else {}
>
> }
>
> the thing is i don't know the exact syntax or where to put it, or is
> there a better way to check if the user is a visitor?
>
> thanks in advance for any help
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---