Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter AndyFromVandy

    (@andyfromvandy)

    Thank you, sir. I appreciate the wonderful support I’ve received in this forum!

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    Thank you! In looking through that file, I noticed that the PHP was actually generating the code I wanted — a title and link to the destination page. I wasn’t seeing this on the search results because I’d “killed” the page titles with

    entry-title { display: none; }

    as I didn’t want the page titles appearing on the pages. I’ll have to work out a solution.

    THANKS AGAIN for setting me straight!

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    ElectricFeet (et al.), sorry, I figured that given that the guidance had been posted, it wouldn’t make sense to repeat…but you’re right, I’ll post in a consolidated fashion below for all. First, note that my development environment has moved to a different URL. As such, the code that is at clashedplaid.com is outdated — I am NOT updating it. Instead, I now have a separate account and, yes, I’ve created a child theme.

    First, within the Customizr dashboard, I created and populated a new menu (“top menu”). Then, I edited the class-header-header_main.php file. See below. My addition is simply…

    <div class="top-menu-class">
                             <?php wp_nav_menu( array('menu' => 'top-menu' )); ?>
                         </div>

    …see below to see WHERE it goes…

    function tc_navbar_display() {
    		tc__f('rec' , __FILE__ , __FUNCTION__, __CLASS__ );
    		ob_start();
    		?>
    		<?php do_action( 'before_navbar' ); ?>
    	      	<div class="navbar-wrapper clearfix span9">
    
                         <div class="top-menu-class">
                             <?php wp_nav_menu( array('menu' => 'top-menu' )); ?>
                         </div>
             		<div class="navbar notresp row-fluid pull-left">
    .
    .
    .

    Associated changes in the child-theme style.css are:

    /* Create and style top-menu */
    
    .top-menu-class li {
        float: right;  /* horizontal alignment */
        padding-left: 10px;  /* spacing between items */
        padding-right: 10px;  /* spacing between items */
        font-size: 12px;
        font-weight:900;  /* very dark bold */
        background-color:#FFFFFF;  /* ensure white background, just in case */
        list-style: none outside none;  /* removes bullets */
    }
    
    .top-menu-class a {
        color: #686868 !important;  /* make these items grey */
        font-weight:900;  /* very dark bold */
    }

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    I followed the guidance in your prior posts (as well as additional advice linked within them). I didn’t implement with the bars in-between, afterall. THANKS AGAIN!

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    ElectricFeet, thank you so much — it’s all working!

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    Thank you, ElectricFeet — will do. My plate is full today, but hope to make a run at this within the next 24-48 hours!

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    Thanks, ElectricFeet. I overlooked that post. That said, I’m not following it. Any chance you could give me a little guidance on where to edit the PHP? Through the WordPress front end, I created another menu (“topmenu”), but am not 100% sure what code to modify to insert it properly. (I think/hope I can handle the CSS, but am struggling with PHP.)

    Many thanks!

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