I extended the file attachment template to recognize if audio or video files are shown. It adds an html5 player and works great with MP3 audio attachments. Files can be played as an attachment.
However I am not able to get .mp4 or any other video files to be shown. The player is displayed but...
I need to set a condition for applying padding to an element. The template in question is "public.css".
My current CSS code is as follows:
.message.horizontal .messageUserBlock a.username
I need "padding-left: 9px;" to...
I want to show a link, in profile page, just when:
Cometchat plugin is enable.
User is using desktop version, not visiting with mobile.
Which conditional statements I should use? Any opinion will be appreciated.
I'm trying to make a template where I want to display different values depending on the user group.
So basically this is the part of the template which fails: