Fonts and Childs
-
so, hey
i downloaded and installed the OceanWP Child Theme from github, activated it, using it.
where do i change the css for the child though? should it work through the customizer?
cause fonts aren’t changing so well.
for instance, going into typography > body and changing font size does nothing to my website.
functions in child theme is:
function oceanwp_child_enqueue_parent_style() { // Dynamically get version number of the parent stylesheet (lets browsers re-cache your stylesheet when you update your theme) $theme = wp_get_theme( 'OceanWP' ); $version = $theme->get( 'Version' ); // Load the stylesheet wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'oceanwp-style' ), $version ); } add_action( 'wp_enqueue_scripts', 'oceanwp_child_enqueue_parent_style' );
stylesheet in child theme is empty, apart from comments.
when opening the dev panel in chrome and seeing the body text’s css, it shows the text i added in the customizer, but striked out. it says the css used is this
mysite.com/wp-content/uploads/oceanwp/custom-style.cssany idea whats happening?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fonts and Childs’ is closed to new replies.