How to make WordPress Twenty Fourteen theme full width

How to make WordPress Twenty Fourteen theme full width

Whilst refreshing a client’s WordPress site, I felt the WordPress Twenty Fourteen theme had too much white space. As with many things in our connected world, I was not the first and someone already had a solution.

A fairly simple process:

  1. Locate the theme style.css (in the wp-content/themes/twentyfourteen folder) file and look for the following code and modify the max width to 100% instead 1260px.

    .site {
    background-color: #fff;
    max-width: 1260px;
    position: relative;
    }

  2. Find the following piece of code and again modify the max-width to 100% instead 1260px.

    .site-header {
    background-color: #000;
    max-width: 1260px;
    position: relative;
    width: 100%;
    z-index: 4;
    }

Source: How to make WordPress Twenty Fourteen theme full width – Technical and Management Consulting

Storing when an Arduino sketch was Compiled

Storing when an Arduino sketch was Compiled

/// These are found and replaced by the compiler.
#define CompileDate __DATE__
#define CompileTime __TIME__
String CompileYear = CompileDate;
/// These are for returning copyright information, and storing this information in the code.
const String Copyright = "Philip McGaw"; ///< Copyright company / person's name.
String Product = "ProjectName";                   ///< Project name. (Updated when I make a release).
String Serial_Number = "-1";             ///< Placeholder - This is the serial number of the microprocessor.
const int Software_Version = 1;          ///< Firmware version. (Updated when I make a release).

 

This is an example of the code allowing the data to be sent out via the serial port.

CompileYear = CompileYear.substring(7, 11); ///< Cuts the string so it just contains the year.
Serial.println((String) "© " + Copyright + " " + CompileYear + " - " + Product);
Serial.println((String) "Software Version: \t\t" + Software_Version + " (" + CompileDate + " " + CompileTime + ")");
Serial.println((String) "Hardware Version: \t\t" + Hardware_Rev);
Serial.println((String) "Serial Number: \t\t\t" + Serial_Number);

Serial_Number and Hardware_Rev should both be -1, as they are not set in the code above.

Source: Storing when an Arduino sketch was Compiled – PhilipMcGaw.com

How to ALWAYS show all the Icons in Notification area of Windows

Use Control Panel to show the icons

To always show all the Icons in the System Tray or Notification area of Windows 11/10, via Control Panel follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Enter this value: explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
  3. Tick the Always show all icons and notifications on the taskbar checkbox.
  4. Click the OK button.

Source: How to ALWAYS show all the Icons in Notification area of Windows

Custom Pinball Index

Note that the BSOS project has been renamed to “Retro Pin Upgrade” – This was done to avoid any intellectual property confusion/issues. Until other areas have been updated, assume any reference to BSOS is the same as RetroPin Upgrade.

This is the site for RPU reference material and related things….

Source: Custom Pinball Index