Change theme font in thunderbird email-client

In your home-directory “.thunderbird”, go to the thunderbird profile-folder (in my case the folder “……..default-release” ) and create in that folder another folder named chrome.
In this folder, create a text file named userChrome.css
In that file place the following code:

/* import a font of your choise: */
@import url("");

 * Do not remove the @namespace line -- it's required for correct functioning
@namespace url(""); /* set default namespace to XUL */

font-size: 9pt !important;
font-family: 'Special Elite', cursive !important;

Change apache directory in Manjaro

If you’ve installed the Apache HTTP server software on your local machine you might want to change the location where the webpages are located. I.e. move it to “/home/user/public_html” so it’s more accessable for development purposes.
The wasn’t clear to me about how to solve the forbidden errors I encountered. But the solution was actually simple:

Using rem in font-size

With most browsers users can zoom in if the text is too small to read, but from a developer perspective it could be wise to make the text more scalable by using ‘rem’ in stead of ‘px’.
‘rem’ is not supported on IE8 and below, but who cares nowadays …

So in the css-file it looks like this (in this case using pixels as a fallback):

WordPress Css-versioning

Versioning based on the file’s last modified time. When the style.css file is updated on the server, WordPress will append the appropriate timestamp, so there’s no need to refresh the cache with ctrl-r (or ctrl-f5). Note: don’t use time() as the 4th parameter or append it to the file, as this will break caching in almost all cases.

responsive styling for iframes and videos

Some css magic for creating responsive videos and iframes:

Enable the thumbnail meta box in the attachment edit screen

The following code enables the thumbnail meta box (featured image in backend) in Attachment edit screen.

© 2021 Jakob Helmer - Powered by WordPress - @trails&tribulations