Forum Replies Created

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

    (@learningwordpress120)

    Thank you very much. Your suggestion worked beautifully to center the menu. I realize I wasn’t clear about what I wanted for the text. I want it centered, but with white space on the left and right margins. I tried adjusting the width (width: 80%) and (width: 60%) but it didn’t affect the margins. This is what the entire .css file looks like now with the width set at 80%

    /*
     Theme Name:     Twenty Twelve Child Theme
     Theme URI:      https://fiverr.com/kevinm97
     Description:    Twenty Twelve Child Theme
     Author:         Kevin McClellan
     Author URI:     https://fiverr.com/kevinm97
     Template:       twentytwelve
    */
    
    @import url("../twentytwelve/style.css");
    
    /* =Theme customization starts here
    
    -------------------------------------------------------------- */
        /* Navigation Menu */
        .main-navigation { margin-top: 12px; margin-top: 0.857142857rem; text-align: center; } /* margin-top is different in media queries */
    
        /* Media Queries Navigation Menu */
        	.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { border-bottom: 0; border-top: 0;
        		display: inline-block!important; text-align: center; width: 80%; }
    Thread Starter learningwordpress120

    (@learningwordpress120)

    You solved the problem! The header shows up and the menu is beneath it. I am very appreciative.

    Thread Starter learningwordpress120

    (@learningwordpress120)

    Wait – I just checked and noticed that the header I had selected somehow “fell off” so I have to re-select it. M

    Thread Starter learningwordpress120

    (@learningwordpress120)

    Thank you so much for your ongoing support. Yes, I do have the child them ACTIVE on my site. The files I have for the theme are functions.php, header.php, style.css, and screenshot.png (the latter just an image that says Twenty Twelve Child Theme). I used the text you gave me for the header file and the banner still doesn’t show up. The link to my site is marywaters.com

    Thread Starter learningwordpress120

    (@learningwordpress120)

    Sorry, I didn’t know about the code button. I’ve posted my entire header file in pastebin. It’s at https://pastebin.com/RF0b8cbt. I haven’t moved the code around yet because I want to get the banner to show up first. I wonder if I have to reference the twentytwelve-child directory in the header file someplace. Thank you.

    Thread Starter learningwordpress120

    (@learningwordpress120)

    Thank you very much. I thought that the link might be from a different theme, but when people don’t specify the theme they are referring to, it’s anybody’s guess. I will definitely try the thread you recommended, but first I need to know how to get the header image to show up. What am I doing wrong with the html? Here is a more complete excerpt from the header file in the child theme:

    <nav id="site-navigation" class="main-navigation" role="navigation">
    			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
    			<a href="#content">"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    		</nav><!-- #site-navigation -->
    
    		<?php if ( get_header_image() ) : ?>
    		<a href="https://www.marycwaters.com/">
    <img class="header-image" width="940" height="244" alt="" src="https://69.89.31.194/~marycwat/wp-content/uploads/2013/11/01-keyboardhands-manuscript-hands-green2.jpg"></img>
    
    		<?php endif; ?>
    	</header><!-- #masthead -->

    Thank you.

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