Parent/Child themes – both CSS files loaded
Parent/Child themes – both CSS files loaded
Parent/Child themes – both CSS files loaded
Child-Theme Category View with modified permalinks (%category% removed)
Proper way to remove html code on child theme
The original stylesheet is enqueued as openpos.bill.bootstrap wp_enqueue_style(‘openpos.bill.bootstrap’, OPENPOS_URL.’/assets/css/bootstrap.css’) // load my custom css after this one But you’ve set openpos.bill.style as the dependency: wp_enqueue_style(‘bill-screen-style’, get_stylesheet_directory_uri() . ‘/include-parts-from-functions-php-file/frontend-related/plugins/openpos-plugin/pos-app/css/bill-screen-style.css’,array(‘openpos.bill.style’)); These need to be the same.
The canonical answer is that themes are for visuals only, the rest go in plugins. In practice though, people bundle everything in a theme because it’s easier to sell a zip you upload to the themes folder. In the future it will be possible to have themes that contain little to no PHP at all … Read more
I’ve found this to be possible using the Customizer Export/Import plugin.
Solved! just need to change get_theme_file_path() to get_template_directory()
I’d action this by adding an additional background video div to the code and positioning fixed. Just need to tweak the z-index to layer the main container and background video. See demo: https://jsfiddle.net/t9mznyrq/
Enqueued script fails
javascript file not working in a plugin template file