[Resolved] Changing Navigation Menu Height Not Taking

Home Forums Support [Resolved] Changing Navigation Menu Height Not Taking

Home Forums Support Changing Navigation Menu Height Not Taking

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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

    #1163500
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using a child theme?

    If so what happens if you use the parent theme instead?

    Let me know ๐Ÿ™‚

    #1163506
    Donna

    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

    #1163508
    Leo
    Staff
    Customer Support
    #1163509
    Donna

    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

    #1163510
    Leo
    Staff
    Customer Support
    #1163534
    Donna

    Perfect! That worked!

    Donna

    #1163535
    Leo
    Staff
    Customer Support

    Glad to hear ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.