Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Andy Pizer

    (@milpond)

    @girlieworks, I’m afraid that didn’t do it either, I tried putting it in the style sheet for the child theme as well as the parent theme but no change. Could it be something related to my database changes? I did import the backup database before the problem, but I wonder if anything was left over or did not import properly?

    Again, thank you for your continued responses, I appreciate the support!

    Thread Starter Andy Pizer

    (@milpond)

    @girlieworks, I definitely see what you mean, I went ahead and put the menu back underneath the header image so you can take a proper look (truly, thank you!!).

    I’m not familiar with Firebug, but it sounds like a fantastic debugging tool I will look into. For now I did try removing the metaslider php from the header.php file (still in child theme), and once again, the tan block of my content covered up most of the menu.

    If you’d like to see this affect, let me know and I’ll remove the slider again (perhaps I should have done so in the first place…)

    Thread Starter Andy Pizer

    (@milpond)

    Thank you @girlieworks for taking a look at this! I’m afraid unfortunately the problem does not seem to be the slider (or at least that part of it), as the links are still un-clickable even after adding the css

    I hope I wrote this earlier, but just in case I spaced/was hopelessly unclear, the menu get’s covered by the body of the page on every page except the home page- where it just becomes un-clickable like something invisible is overlaying it. I hope that makes sense!

    Thank you again so much!!

    Thread Starter Andy Pizer

    (@milpond)

    We are indeed using a child theme, and the code above is from that header.php file located in our child theme directory.

    Thread Starter Andy Pizer

    (@milpond)

    Thanks @contentisky so much for looking at my problem! I hope it’s alright if I leave the menu links up there for now, as they do seem to be working.

    However, I’d really like to have them show up below the main header image as shown in the code above. Could the child theme header.php be the issue or is there something else “covering up” the links?

    Thank you!

    Thread Starter Andy Pizer

    (@milpond)

    EDIT: Found a band-aide solution and possibly the problem area

    For some reason when I edit my child theme’s header.php file to grab the primary navigation menu before rendering the header image, everything works fine.

    Ideally I’d like the menu to show up below the header image, but I’m not sure where in the header.php there is an issue. Here is the code (with the primary menu below the header image):

    <?php
    /*
     * The header for displaying primary menu and header-image.
     */
    ?>
    
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <title><?php wp_title('|', true, 'right'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
    <?php
    	/* Always have wp_head() just before the closing </head>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to add elements to <head> such
    	 * as styles, scripts, and meta tags.
    	 */
    	wp_head();
    ?>
    
    </head>
    
    <body <?php body_class(); ?> >
    
    <img src="https://www.aspenbrook.com/images/head2.jpg">
    
    <?php if ( has_nav_menu( 'primary' ) ) : ?> 
    		<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'nav-head' ) ); ?>
    	<?php endif; ?>
    
    <center>
    
    <?php if (is_front_page() || is_home()) {
        echo do_shortcode("[metaslider id=832]");
    } else if (preg_match('/new-slide-test/',$_SERVER['REQUEST_URI'])) {
     echo do_shortcode("[metaslider id=832]");
    }
    ?>
    
    </center>
    
    <div id="container1">
    </div>
    <div id="container">
    <div id="header">
    </div>

    Again, thank you!!

Viewing 6 replies - 1 through 6 (of 6 total)