Why would a theme writer put their CSS in one long string? [closed]

The main file is minified, so it will be smaller and faster to load. But, the author provided you with the development file version. style.css and style.dev.css are basically the same files, but the dev version is readable, and the main one minified. All WordPress default CSS/JS files are provided with normal and minified version … Read more

Custom CSS is not working?

There’s no et_pb_row_2 classes being used on that page only et_pb_row_1. Same thing applies to the class et_pb_section_2.

Load custom CSS before admin CSS

By default they should already be loading after the core admin styles. I suspect the CSS isn’t even being loaded because you have an invalid parameter in your wp_enqueue_style() call. Its parameters are the same as wp_enqueue_script(). Where you have 99 is where dependencies are actually defined. So WordPress is looking for 99 to be … Read more

After moving my site, sub-menus are not showing [closed]

For some reason, your header is being wrapped in the div with the class “page-wrap”, which should go around the whole page (that’s what is does on the working WooCommerce page). If you go into your inspector and uncheck “overflow:hidden” on the div with the class ‘page-wrap’, the menu starts working. Maybe check your header … Read more

How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?

Here is a simple example from w3 schools that uses a bit of JS to copy the value of a input field. <input type=”text” value=”StackExchange WordPress” id=”myInput”> <button onclick=”myFunction()”>Copy text</button> <p>The document.execCommand() method is not supported in IE9 and earlier.</p> <script> function myFunction() { var copyText = document.getElementById(“myInput”); copyText.select(); document.execCommand(“Copy”); alert(“Copied the text: ” + … Read more

Acessing HTML element with no specific tag on it [closed]

Your <h3> isn’t closed. The Proper Way: The real way to fix it would be fixing the PHP. In one of your template theme files you’ll have <div class=”post-header”> <?php echo get_the_date(); ?> <h3 class=”title”> <?php the_title(); ?> <h3> </div> You’ll want to delete the get_the_date() line. If your theme is from an author that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)