Hello,
You can add a class to this post.
Open viewtopic_body.html
Find:Add You now have the
e.g.
You can add a class to this post.
Open viewtopic_body.html
Find:
Code:
<div id="p{postrow.POST_ID}" class="post has-profile <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS --> warned<!-- ENDIF -->">
<!-- IF postrow.S_FIRST_ROW and CURRENT_PAGE eq 1 --> mycustomclass<!-- ENDIF -->
to the class attribute.Code:
<div id="p{postrow.POST_ID}" class="post has-profile <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS --> warned<!-- ENDIF --><!-- IF postrow.S_FIRST_ROW and CURRENT_PAGE eq 1 --> mycustomclass<!-- ENDIF -->">
mycustomclass
class to add style to the elements contained in this div.e.g.
.mycustomclass .avatar {}
Statistics: Posted by cabot — Tue Mar 05, 2024 10:54 am