NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Email issues

There are currently issues with our email service, causing validation emails to fail for new accounts. If you have not received your validation email, please contact us via Discord (https://discord.gg/nameless).

Add Material Design Icons Support
Started by TeemoCell

TeemoCell

TeemoCell

Member
Joined
05 Dec 2020
Last Seen
18 May 2025
Topics
2
Posts
5
Minecraft
TeemoCell

1. Go to

/templates/DefaultRevamp

2. Open

template.php

3. Add

'//cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css' => array()

above

'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css' => array('integrity' => 'sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==', 'crossorigin' => 'anonymous')


This is how it should look like. You can also copy the code and replace it with the other one.

		$this->addCSSFiles(array(
			$template['path'] . 'css/semantic.min.css' => array(),
			$template['path'] . 'css/toastr.min.css' => array(),
			'//cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css' => array(),
			'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css' => array('integrity' => 'sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==', 'crossorigin' => 'anonymous')
		));

Icons: https://materialdesignicons.com/

👍 1
TeemoCell · over 3 years ago
rufanyia

rufanyia

Member
Joined
29 Nov 2023
Last Seen
26 Dec 2023
Topics
0
Posts
9
Minecraft
rufanyia

Thanks!

rufanyia · about 1 year ago