How to replace function in child theme?
How to replace function in child theme?
How to replace function in child theme?
Inline CSS header style priority function.php Child (no enqueing I think)
Google Analytics on a staging site
Understrap-child conditional js script
just add a background-color:#000000; to the #main_nav div in your css. change 000000 (black) to whatever hex color you want. Help w/ that here: http://www.december.com/html/spec/color.html
take a look into toolbox
I don’t see why it wouldn’t be possible. I use a switch plugin to display a totally different theme for mobile. A child theme is a totally different theme. The dependencies on the parent theme should still work, as they are WP functions built in. Give it a try with a super simple child theme … Read more
Here you go. add_action(‘init’, ‘register_custom_jquery’); function register_custom_jquery() { wp_deregister_script(‘jquery’); wp_register_script( ‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js’, array(), ‘1.6.1’ ); wp_register_script( ‘my-custom-script’, ‘http://example.com/js/script.js’, array(), ‘1.0’ ); } add_action(‘wp_enqueue_scripts’, ‘add_js_to_page’); function add_js_to_page() { wp_enqueue_script( ‘jquery’ ); wp_enqueue_script( ‘my-custom-script’ ); }
The body font size in TwentyEleven is listed on line 316 in style.css body, input, textarea { color: #373737; font: 15px “Helvetica Neue”, Helvetica, Arial, sans-serif; font-weight: 300; line-height: 1.625; } Copy it over to your child theme style sheet and change the 15px to 20px. If you have already done this and it’s not … Read more
your @import doesn’t look malformed. this is what i have on a live site that is running a twenty eleven child theme. /* Theme Name: A Twenty Eleven Child Theme Description: my child theme Author: helgatheviking Template: twentyeleven Version: 1.0 */ /* Reset browser defaults */ @import url(‘../twentyeleven/style.css’); so assuming that twentyeleven is in the … Read more