Center Anything with CSS .centred { height: 50px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 200px; } Source: stackoverflow.com/questions/45827751/keep-div-centered

Use the custom function to check whether image exists on remote URL function checkRemoteFile($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); // don’t download content curl_setopt($ch,… Read More →

Add id and class to Contact Form 7 elements Example: contact-form-7 id=”1234″ title=”Contact form 1″ html_id=”contact-form-1234″ html_class=”form contact-form” Source: contactform7.com/faq/can-i-add-id-and-class-attributes-to-a-form-element