Mchat sound icon

Support area for phpBB's mChat extension
Post Reply
terry2
Donor
Posts: 53
Joined: 22 Oct 2016, 18:22

Mchat sound icon

#1

Post by terry2 » 07 Dec 2017, 08:03

I would put this into an ext but it's not worth the time i have it in cssmagic.

Open mchat or cssmagic and place the images folder in the theme now open mchat.css or cssmagic.css and add

Code: Select all

#mchat-user-sound {
	display: none;
}

#mchat-user-sound + label {
	cursor: pointer;
	background-image: url('./images/icon_mute.png') !important;
	display: inline-block;
	height: 20px;
	width: 15px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: -7px;
}

#mchat-user-sound:checked + label {
	background-image: url('./images/icon_volume.png') !important;
}

#mchat-user-sound + label {
	padding-right: 0;
	padding-left: 5px;
}
images.zip
(831 Bytes) Downloaded 2 times
images.zip
(831 Bytes) Downloaded 2 times
Now purge the boards cache.

nou nou
Donor
Posts: 41
Joined: 10 Oct 2017, 19:38

Re: Mchat sound icon

#2

Post by nou nou » 10 Dec 2017, 16:50

Awesome, works beautifully! Thanks a lot! :)

terry2
Donor
Posts: 53
Joined: 22 Oct 2016, 18:22

Re: Mchat sound icon

#3

Post by terry2 » 10 Dec 2017, 18:31

No worries.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest