- This topic has 7 replies, 2 voices, and was last updated 2 years, 11 months ago by
Leo.
-
AuthorPosts
-
February 12, 2020 at 2:40 pm #1163489
Donna
Hi!
I’m trying to change the menu height and I go to the Customizer, Layout, Primary Navigation and change the Menu Item height to say 20px. I can see the change taking place when I look at the navigation but when I hit Publish, the changes don’t take.
Same thing when I try to change the font size in the primary navigation. The change doesn’t tak.
I cleared the cache so it’s not a caching issue.
Thoughts?
Thank you!
Donna
February 12, 2020 at 2:51 pm #1163500Leo
StaffCustomer SupportHi there,
Are you using a child theme?
If so what happens if you use the parent theme instead?
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 12, 2020 at 3:05 pm #1163506Donna
Hi Leo,
Thanks for the quick response! Yes…I’m using a child theme. I switched to the parent theme it works.
So how can I use the child theme and have my edits take?
Donna
February 12, 2020 at 3:09 pm #1163508Leo
StaffCustomer SupportThis should help:
https://docs.generatepress.com/article/child-theme-issues/#importDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 12, 2020 at 3:13 pm #1163509Donna
HI Leo,
The style.css file doesn’t have anything in it.
The functions.php has this code (is there something there I need to remove?)
<?php
// Exit if accessed directly
if ( !defined( ‘ABSPATH’ ) ) exit;// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED – Do not modify or remove comment markers above or below:if ( !function_exists( ‘chld_thm_cfg_locale_css’ ) ):
function chld_thm_cfg_locale_css( $uri ){
if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . ‘/rtl.css’ ) )
$uri = get_template_directory_uri() . ‘/rtl.css’;
return $uri;
}
endif;
add_filter( ‘locale_stylesheet_uri’, ‘chld_thm_cfg_locale_css’ );if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘generate-style’ ) );
}
endif;
add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );// END ENQUEUE PARENT ACTION
February 12, 2020 at 3:15 pm #1163510Leo
StaffCustomer SupportCan you just download a child theme from here?
https://docs.generatepress.com/article/using-child-theme/#installing-a-child-themeDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 12, 2020 at 3:37 pm #1163534Donna
Perfect! That worked!
Donna
February 12, 2020 at 3:37 pm #1163535Leo
StaffCustomer SupportGlad to hear ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.