<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Essential_theme_tips</id>
	<title>Essential theme tips - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Essential_theme_tips"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Essential_theme_tips&amp;action=history"/>
	<updated>2026-05-08T00:09:12Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Essential_theme_tips&amp;diff=3723&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Essential_theme_tips&amp;diff=3723&amp;oldid=prev"/>
		<updated>2024-10-18T06:37:53Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 06:37, 18 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Essential_theme_tips&amp;diff=3722&amp;oldid=prev</id>
		<title>1&gt;Trogdor: /* Add custom CSS in your Essential Settings */</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Essential_theme_tips&amp;diff=3722&amp;oldid=prev"/>
		<updated>2013-08-29T23:53:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Add custom CSS in your Essential Settings&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Essential_theme|Essential]] is a three column Responsive theme for Moodle written by Julian (Moodleman) Ridden based on Bootstrap for Moodle 2.5. It is designed to provide a more professional and clean website focused look and feel. &lt;br /&gt;
&lt;br /&gt;
This page outlines some advanced tricks you can use to customise the theme to meet your needs.&lt;br /&gt;
&lt;br /&gt;
For more information on this theme be sure to visit the [[Essential_theme|main theme documentation]]&lt;br /&gt;
&lt;br /&gt;
==Changing the Icons on HTML Blocks==&lt;br /&gt;
&lt;br /&gt;
===Enable custom classname&amp;#039;s for blocks===&lt;br /&gt;
&lt;br /&gt;
You will need to enable this feature first in your Moodle install. Log in as an administrator and go to:&lt;br /&gt;
&lt;br /&gt;
:SITE ADMINISTRATION &amp;gt; PLUGINS &amp;gt; BLOCKS &amp;gt; HTML&lt;br /&gt;
&lt;br /&gt;
Here you will need to enable the option to:&lt;br /&gt;
&lt;br /&gt;
:Allow additional CSS classes&lt;br /&gt;
&lt;br /&gt;
Once enabled you can now add a custom classname to your HTML Blocks. This is needed so that we can identify them individually and place a custom icon.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[File:step1.jpg]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Create HTML Block with a custom classname===&lt;br /&gt;
&lt;br /&gt;
When creating your HTML block (or any in fact that you want to change the icon of) you now give it a classname of your choice. For this example I am using the name &amp;quot;customtest&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[File:essential_customblock_step2.jpg]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Find the Unicode of your desired icon===&lt;br /&gt;
&lt;br /&gt;
Use the cheat sheet located at http://fortawesome.github.io/Font-Awesome/cheatsheet/. This will be needed to insert into our CSS to generate your desired icon. I keep this printed next to my monitor these days smile.&lt;br /&gt;
&lt;br /&gt;
===Add custom CSS in your Essential Settings===&lt;br /&gt;
&lt;br /&gt;
Now under the &amp;quot;General Settings&amp;quot; for the Essential theme you can add the following custom css. Please note that I have highlighted in green the custom class name we are using and in red the unicode of the globe icon.&lt;br /&gt;
&lt;br /&gt;
Please ensure it is formatted exactly like below. Copy and paste if you like.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
.&amp;lt;span style=&amp;quot;color: green;&amp;quot;&amp;gt;customtest&amp;lt;/span&amp;gt; .header .title h2:before {&lt;br /&gt;
content:&amp;quot;\&amp;lt;span style=&amp;quot;color: red;&amp;quot;&amp;gt;f0ac&amp;lt;/span&amp;gt;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have followed these steps correctly, when you hit save you should see your block now has a new icon displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[File:essential_customblock_step3.jpg]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>1&gt;Trogdor</name></author>
	</entry>
</feed>