OceanWP and SVG images

Ever tried to enable the upload of SVG images in WordPress, and kept getting the error:
“Sorry, you are not allowed to upload this file type.” ?

So, you tried the plugins Safe-SVG, disabled Wordfence, disabled Solid Security, added a snippet with WPCode, changed your wp-config.php file, and maybe some other options you found on the Interweb?
Well, if you are using the OceanWP theme like I do, then nothing will work, except when you go to your OceanWP panel, select the ‘Integration’ tab on the left, slap your forehead with a flat stretched-out hand, and finally slide the switch on that page, all just to enable the SVG files support.

Next, of course, remove all those plugins, code snippets and other things you have added to your WordPress installation and continue with your life.

Have a nice day!

How to change background-image opacity in CSS without affecting the text

Thank you so much for your quick solution… coder-coder.com

copy-paste

When building a website, you may often want to put a background image on an HTML <div> that also contains text or other content.

And to make the text stand out, you want to change the opacity of that background image in CSS so that it’s semi-transparent. But you’ve tried, and you can’t change the opacity of the background image without also affecting the text or other child elements!

What can you do? Not to worry– this article will give you some practical solutions to controlling your background image opacity.

So, first, the bad news…

Continue reading How to change background-image opacity in CSS without affecting the text

Access Windows Share without a password

Older laptop, simple user to logon without any password; Simply click to login and use the computer.

Now, if you want to access a share on that computer, using that same user, and gave the correct rights to be able to access it, it will not work… This was my solution from 2011, which still worked today!
Start gpedit.msc and find and disable this setting:

Happy sharing!
Have a nice day…

OceanWP Header background image black

Did you try to control this with a function?
And did it stop working recently and is now only showing a blacked out area?
Did you use the hook ocean_page_header_background_image and the function as posted in the OceanWP docs?

Well… Just change your script to give back the image ID instead of the URL:

if ( is_singular( 'post' ) ) {
  // $bg_img = get_stylesheet_directory_uri() . '/img/my-image.jpg';
  $bg_img = 1394;
}

You’re welcome.
Have a nice day!

PS.
Also posted to support hoping maybe OceanWP can fix this, so we can use the image filename/URL again?

NordVPN 3 year plan discount

Even though I get no commission, I would like to share a discountcode to get a better offer for NordVPN.
My subscription was up for renewal, but the renewal-offer was way more expensive per month, so I cancelled the subscription. Now after it expired I went back to the NordVPN website to see if the price was any better, but unfortunately they only offered a month, year or 2-year plan. I started searching and fount the following discount code, with the added bonus of getting a three year plan in the process.

Use this discount code:

Continue reading NordVPN 3 year plan discount

Thunderbird 115 Calendar View scaled wrong

Ever since the latest upgrade of Thunderbird mailclient to version 115 many people have experienced problems. It started with the setting being changed to compact for the density of the mailbox views. That solution was simple; just change in your menu “View – Density” and change it back to ‘default‘.

However the view of the calendar has been giving problems. The right-hand-side of it is outside of the visible window, basically dropping off the date from the view; see screenshot and yes, that is to the edge of my screen with Thunderbird maximized.

So, how do we solve this?
Go to “Tools – Settings – General” and at the bottom open the ‘Config Editor…’
Now search for ‘layout.css.devPixelsPerPx‘ and change that value to 0.9
Since this scales everything on the screen, you may want to increase your font-size next:
Go to “View – Font Size – Increase Font Size”, and see the second screenshot for the result.
Good luck!

That’s all Folks!
Have a nice day…