Skip to main content

Posts

How to Fix Divi 3 Color-Picker not showing HEX colour textbox I installed Divi   (3.0.40)  template on my Wordpress  (4.9.5)  site  yesterday to test it... and I immediately run into a problem... Choosing a colour from a colour palette did not display the textbox to type in the colour hex code...   So go and edit  /wp-content /  themes  /  Divi  /  css  / theme-customizer-controls-styles.css around line 69 find wp-picker-container and add the text in red: .wp-picker-container input[type=text].wp-color-picker, .wp-core-ui .wp-picker-default, .wp-core-ui .wp-picker-clear { width: 45% !important; vertical-align: bottom; margin-top: 10px; display:inline !important ; }
Recent posts
How to Fix Slider Module Slide General Settings not Displayed I installed Divi (3.0.40)  template on my Wordpress  (4.9.5)  site  yesterday to test it... and I immediately run into a problem... in various cases, one of them the slider - slide settings where not visible . I figured out that the  wp-color-picker-alpha.min.js  Javascript, which was adding a height of 100% to a span inside the wp-picker-container class, was causing the problem. To solve the problem go to folder: \wp-content\themes\Divi\includes\builder\scripts\ext\ and edit wp-color-picker-alpha.min.js Find this line: css({width:"100%",height:"100%",position:"absolute",top:0,left:0,"border-top-left-radius":"3px","border-bottom-left-radius":"3px",background:r.color.toString()})) and change the height to "0px" css({width:"100%",height:"0px",position:"absolute",top:0,left:0,"border-top-left-rad

Introduction to JAVA - Review Questions

Very Basic Questions: 1) JAVA uses classes and objects .   Define classes and objects? What is their relationship? 2) Which of the following are Java reserved words?       run,  import,  default,  implement, main, int, Char, exit, extends, catch, if, for, when, do-while, While Basic Questions: Which statements are true? The default constructor initialises method variables. The default constructor has the same access as its class. The default constructor invokes the no-arg constructor of the superclass. If a class lacks a no-arg constructor, the compiler always creates a default constructor. The compiler creates a default constructor only when there are no other constructors for the class. Programming Problems: 1) Create a method called hasDoubleLetters() that returns true if a given word has at least 2 same letters  and false if not. Try to answer them and I will give you feedback! ... more to follow if you want... :-)

GUI Components

This presentation describes JAVA swing GUI components and Layout Managers Powerpoint presentation in movie mode....

Java Objects - Basics!!!!

How to create and "use" an object in Java  In the following tutorial, I will explain how to create an Object in JAVA, and how you can "use" this object from a "tester" program... The object described is a cashRegistrer System in a Supermarket. Multiple instances of cashRegisters exist, each one of them has its own balance (money inside the machine).  This is an instance variable. The only operation the machines perform is to put money inside (and increase the balance). This operation is called payAmount and needs two inputs :         1) the amount of money the customer needs to pay, for example: 5.75 (amountPayable)         2) the amount of money that the customer gives to the cashier, for example: 10  (amountGiven) the same operation returns a value, which is the change that the cashier should give to the customer. if the amount of money the customer gives to the cashier  (amountGiven)  is less than the required amount (amountPayable) the oper

How to Create a JAVA/SWING Desktop Application

Watch the video to learn the basic steps required to create a simple GUI application in Jdeveloper. The application just performs the task of adding two numbers in textfields and and with the press of a button displays the result in a label... Enjoy!

Jpanel and GridLayout

This the code (used at the screen-cam) to create at Run-Time the buttons inside your jPanel, which has a gridLayout of 6 columns and 14 Rows (as required by your project) for (int Row=0;Row < seats.length;Row++) for (int Column=0; Column < seats[Row].length; Column++) { JButton b = new JButton(); b.setEnabled(false); b.setBackground(Color.BLUE); seats[Row][Column]=b; jPanel1.add(b); } Make sure you place the code above in the correct position in your source code... inside jbInit() method make also sure that you have declared: private JButton seats [][] = new JButton [14][6]; on top of your code inside : public class _______ extends JFrame { where all object declarations are. ..