Category : Web Programming Languages

Capture attention and make a lasting impression with responsive web design on a desktop, tablet or smartphone. You can do this with media queries. Media queries are a type of coding technique that allows webpages to change their look and feel depending on the device they’re being viewed on. With media queries, you can create ..

Read more

I really like the DIVI Accordion, but by default, the first accordion is open when the page loads. A website looks cleaner if all accordions are closed when the page loads. In Elegant Themes FAQs and Troubleshooting, I found an article Make DIVI Accordions Closed by Default, which you can refer to for complete instructions. ..

Read more

Here’s a javascript you can use to automatically complete WooCommerc orders from any status. This example uses the ‘processing’ status. add_action(‘woocommerce_order_status_changed’, ‘ts_auto_complete_virtual’); function ts_auto_complete_virtual($order_id) { if ( ! $order_id ) { return; } global $product; $order = wc_get_order( $order_id ); if ($order->data[‘status’] == ‘processing’) { $virtual_order = null; if ( count( $order->get_items() ) > 0 ..

Read more

I needed to hide the first value in my dropdown list only on one page because it was not applicable. I used this on DIVI with Formidable PRO and it worked great. I just put the CSS in the Custom CSS. I wanted to hide the first value. I also wanted to do it for ..

Read more

In WordPress to remove the divider line between the main content and sidebar area, you need to write the following css in the Customize > Additional CSS section. @media (min-width: 981px) { #main-content .container:before {display: none !important;} } I found this information from this YouTube video: https://www.youtube.com/watch?v=P0qkHS7Wucc NOTE: YouTube video example uses DIVI theme. I ..

Read more

Here’s a link to how to add font awesome icons to your menu.  It saves memory because it doesn’t use a plugin and also looks professional. How to Add Icons to Custom WordPress Menus Without Plugins I tried it on a DIVI website and had to add the following css.  Keep in mind your menu ..

Read more