Enqueue Style Function Not Loading

Your call to wp_enqueue_style() looks good and functions.php is the right place, but your code should be wrapped inside a function attached to the wp_enqueue_scripts hook. See the Combining Enqueue Functions section of the page you referenced for a full example. Generally speaking, any code you run in WordPress should be run on some hook …

Read more

Get a blank line after div by simply leaving an empty line in the editor

A solution is to create a new class, say extra-space, with css margin-bottom: 0.5em and write <div class=”myclass extra-space”>…text…</div> when the div need more space. Important: the class extra-space has to be placed AFTER the other class in the style.css file, otherwise the extra space will not be added.

Website scroll not working on SAFARI

I have been having this same issue. I believe this is more of a limitation of Safari than it is an issue of your creation. The only “tricks” I was able to find online are overflow-y: scroll; -webkit-overflow-scrolling: touch; I have added this to my container and child elements with no luck. I even added …

Read more

How to organize priority of plugins CSS files?

I came across this at https://wordpress.org/support/topic/zerif-lite-child-theme/?replies=23#post-7476423 It appears that WordPress add_action will allow you to set priority as an integer. add_action( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 ) By adding the “wp_enqueue_styles” or “wp_enqueue_scripts” as an action method you can set the priority of the styles. It’s a bit …

Read more