Tech notes

change font from css (to overwrite the chinese font from template)

body {
font-family: “HelveticaNeue-Light”, “Helvetica Neue Light”, “Helvetica Neue”, Helvetica, Arial, “Lucida Grande”, sans-serif;
font-weight: 300;
}

editor window size too small, use this method to fix.

If you are using the Qtranslate plugin I’ve used a quick and dirty solution through CSS.

In plugins Qtranslate click on Edit
select this file: qtranslate/qtranslate_hooks.php

scroll down until you find this line:
echo “#qtrans_textarea_content { padding:6px; border:0 none; line-height:150%; outline: none; margin:0pt; width:100%; -moz-box-sizing: border-box;”;

Inside this CSS I’ve added height:400px;

Looks like this:

echo “#qtrans_textarea_content { padding:6px; border:0 none; line-height:150%; height:400px; outline: none; margin:0pt; width:100%; -moz-box-sizing: border-box;”;

Hopes this helps some people for a while, you can set any height you wish it to be. It’s very quick and dirty at least it solves the annoyance of having to drag it all the time 😉

Not to get upgrade notice

Disable Updates Manager  plug in…

Disabling WordPress Automatic Updates

Disabling automatic updates in WordPress is easy. Simply add this line of code in your wp-config.php file:

1 define( 'WP_AUTO_UPDATE_CORE', false );

This will disable the WordPress automatic updater, and you will still get notified when there is a new version available, so you can update at your own convenience.

We hope that you found this tip useful. What are your thoughts automatic updates? Would you keep them enabled or use the above method to disable them? Let us know by leaving a comment below.

One Reply to “Tech notes”

Comments are closed.