by rush-intely | Oct 26, 2022 | CSS, html
Post Views: 7 Please use following CSS syntax to style the second last element in a list or group. <style> .list-number-123 { list-style: none; } .list-number-123 li:nth-last-child(2) { background: #edeaea; color: #30a960; font-weight: 700; padding: 10px; }...
by rush-intely | Oct 24, 2022 | CSS, DIVI, html
Post Views: 4 Step 01: Include the below CSS to theme options /* Custom Columns */ .ten-columns .et_pb_module {width: 10%; float: left;} .nine-columns .et_pb_module {width: 11.11%; float: left;} .eight-columns .et_pb_module {width: 12.5%; float: left;} .seven-columns...
by rush-intely | Oct 23, 2022 | CSS, DIVI, html
Post Views: 4 Please use following method to align any content vertically and horizontally centered.. <title>Vertical and horizontal center align div</title> <style> .container-box { background: #efefef; max-width: 1080px; min-height: 500px; }...
by rush-intely | Oct 16, 2022 | html
Post Views: 7 The following CSS code will align the absolute positioned div inside a container. Note: This will only work depending on the max-width of the container. Need to adjust for mobile devices. <!Doctype html> <html> <head> <style>...
by rush-intely | Apr 6, 2022 | WordPress
Post Views: 10 If you want to make a URL relative from the WordPress root, you can use the following WordPress function. <?php $full_url = “https://intelyblog.com/how-to-programmatically-add-a-wordpress-admin-user-using-functions-php/”;...
by rush-intely | Apr 5, 2022 | PHP
Post Views: 6 Normal way of writing an if else statement <?php $result = ”; $count = 55; $target = 70; if($count >= $target) { $result = ‘High’; } else { $result = ‘Low’; } ?> Now let’s see how the above can be written in a...