{"id":14768,"date":"2023-03-20T09:00:17","date_gmt":"2023-03-20T09:00:17","guid":{"rendered":"https:\/\/rumbletalk.com\/blog\/?post_type=epkb_post_type_1&#038;p=14768"},"modified":"2024-10-18T05:17:56","modified_gmt":"2024-10-18T05:17:56","slug":"customize-a-users-message-appearance-via-userid","status":"publish","type":"epkb_post_type_1","link":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/","title":{"rendered":"Customize a user&#8217;s message appearance via userid"},"content":{"rendered":"\n<p>The userid (uid) is a unique string of numbers that can be used for CSS. You can see this via <em><strong>Inspect<\/strong><\/em> or pressing F12 on your keyboard. You can use this to customize a user&#8217;s message appearance.<\/p>\n\n\n\n<p>Here are some examples.<\/p>\n\n\n\n<p>In this sample, we&#8217;re using the admin and his uid, which is &#8220;3.&#8221;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configuration for chat bubble color<\/h3>\n\n\n\n<p>In this sample, we&#8217;re changing the chat bubble color of the admin only.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#content .main-message-container&#91;uid=\"3\"] .message-bubble {\n\n\/ Configuration for chat bubbles \/\n\n}<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"800\" height=\"600\" src=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20230316021841\/uidmessagebubble.png\" alt=\"message appearance\" class=\"wp-image-14769\" srcset=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20230316021841\/uidmessagebubble.png 800w, https:\/\/d241b8qep9dzid.cloudfront.net\/20230316021841\/uidmessagebubble-300x225.png 300w, https:\/\/d241b8qep9dzid.cloudfront.net\/20230316021841\/uidmessagebubble-768x576.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Configuration for date<\/h3>\n\n\n\n<p>In this sample, you can change the appearance of the date (below the chat bubble).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#content .main-message-container&#91;uid=\"3\"] .message-bubble .message-date {\n\n\/ Configuration for Date \/\n\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configuration for username<\/h3>\n\n\n\n<p>In this sample, you can change the message appearance of the username.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#content .main-message-container&#91;uid=\"3\"] .message-bubble .message-user-name {\n\n\/ Configuration for Username \/\n\n}<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"800\" height=\"600\" src=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20230316022603\/uidusername.png\" alt=\"\" class=\"wp-image-14770\" srcset=\"https:\/\/d241b8qep9dzid.cloudfront.net\/20230316022603\/uidusername.png 800w, https:\/\/d241b8qep9dzid.cloudfront.net\/20230316022603\/uidusername-300x225.png 300w, https:\/\/d241b8qep9dzid.cloudfront.net\/20230316022603\/uidusername-768x576.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>You can find a copy of CSS codes in the <a href=\"https:\/\/rumbletalk.com\/blog\/index.php\/2018\/10\/31\/chat-css-tricks\/\">knowledge base<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Customize a user&#8217;s message appearance via userid &#8211; online group chat for web site<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"epkb_post_type_1_category":[340],"epkb_post_type_1_tag":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Customize a user&#039;s message appearance via userid - Online Group Chat Room Plugin for Websites and Live events<\/title>\n<meta name=\"description\" content=\"Now, you can customize a user&#039;s message appearance via userid. All you need to do is edit it via CSS and pressing F12.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Customize a user&#039;s message appearance via userid - Online Group Chat Room Plugin for Websites and Live events\" \/>\n<meta property=\"og:description\" content=\"Now, you can customize a user&#039;s message appearance via userid. All you need to do is edit it via CSS and pressing F12.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/\" \/>\n<meta property=\"og:site_name\" content=\"Online Group Chat Room Plugin for Websites and Live events\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rumbletalk\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-18T05:17:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rumbletalk.com\/blog\/wp-content\/uploads\/2023\/03\/uidmessagebubble.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@rumbletalk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/\",\"url\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/\",\"name\":\"Customize a user's message appearance via userid - Online Group Chat Room Plugin for Websites and Live events\",\"isPartOf\":{\"@id\":\"https:\/\/rumbletalk.com\/blog\/#website\"},\"datePublished\":\"2023-03-20T09:00:17+00:00\",\"dateModified\":\"2024-10-18T05:17:56+00:00\",\"description\":\"Now, you can customize a user's message appearance via userid. All you need to do is edit it via CSS and pressing F12.\",\"breadcrumb\":{\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rumbletalk.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customize a user&#8217;s message appearance via userid\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#website\",\"url\":\"https:\/\/rumbletalk.com\/blog\/\",\"name\":\"Online Group Chat Plugin for Websites and Event\",\"description\":\"Embed a social group chat for communities and events. Grow your online audience with the next evolution of HTML chat room. Attach files, Mobile, Audio and Video calls.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rumbletalk.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/53a763b494aec8f004846c17ae8d90c3\",\"name\":\"Mary Alice\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/96b1fbff01b496d6a7d82bba8a4738f7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/96b1fbff01b496d6a7d82bba8a4738f7?s=96&d=mm&r=g\",\"caption\":\"Mary Alice\"},\"url\":\"https:\/\/rumbletalk.com\/blog\/index.php\/author\/mary-alice\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Customize a user's message appearance via userid - Online Group Chat Room Plugin for Websites and Live events","description":"Now, you can customize a user's message appearance via userid. All you need to do is edit it via CSS and pressing F12.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/","og_locale":"en_US","og_type":"article","og_title":"Customize a user's message appearance via userid - Online Group Chat Room Plugin for Websites and Live events","og_description":"Now, you can customize a user's message appearance via userid. All you need to do is edit it via CSS and pressing F12.","og_url":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/","og_site_name":"Online Group Chat Room Plugin for Websites and Live events","article_publisher":"https:\/\/www.facebook.com\/rumbletalk","article_modified_time":"2024-10-18T05:17:56+00:00","og_image":[{"url":"https:\/\/rumbletalk.com\/blog\/wp-content\/uploads\/2023\/03\/uidmessagebubble.png"}],"twitter_card":"summary_large_image","twitter_site":"@rumbletalk","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/","url":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/","name":"Customize a user's message appearance via userid - Online Group Chat Room Plugin for Websites and Live events","isPartOf":{"@id":"https:\/\/rumbletalk.com\/blog\/#website"},"datePublished":"2023-03-20T09:00:17+00:00","dateModified":"2024-10-18T05:17:56+00:00","description":"Now, you can customize a user's message appearance via userid. All you need to do is edit it via CSS and pressing F12.","breadcrumb":{"@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rumbletalk.com\/blog\/index.php\/knowledge-base\/customize-a-users-message-appearance-via-userid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rumbletalk.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Customize a user&#8217;s message appearance via userid"}]},{"@type":"WebSite","@id":"https:\/\/rumbletalk.com\/blog\/#website","url":"https:\/\/rumbletalk.com\/blog\/","name":"Online Group Chat Plugin for Websites and Event","description":"Embed a social group chat for communities and events. Grow your online audience with the next evolution of HTML chat room. Attach files, Mobile, Audio and Video calls.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rumbletalk.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/53a763b494aec8f004846c17ae8d90c3","name":"Mary Alice","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rumbletalk.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/96b1fbff01b496d6a7d82bba8a4738f7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/96b1fbff01b496d6a7d82bba8a4738f7?s=96&d=mm&r=g","caption":"Mary Alice"},"url":"https:\/\/rumbletalk.com\/blog\/index.php\/author\/mary-alice\/"}]}},"_links":{"self":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/14768"}],"collection":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=14768"}],"version-history":[{"count":5,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/14768\/revisions"}],"predecessor-version":[{"id":17193,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1\/14768\/revisions\/17193"}],"wp:attachment":[{"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=14768"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=14768"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/rumbletalk.com\/blog\/index.php\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=14768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}