Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #42651
    Kath
    Member

    Hi, I use the free CatchEverest theme. Thanks for providing it!:)

    I made a second menu by adding in the footer.php:

    ‘secondary’, ‘container_class’ => ‘menu-footer’) ); ?>

    and in the functioms.php:

    register_nav_menu( ‘secondary’, ‘Secondary Navigation Menu’ );

    Bild

    Can you help me to change the font color and move the link to the right site above the word Everest?

    Thanks for any help!
    Kath

    #42657
    Kath
    Member

    … and is there a css to change the font of the Hompage Headline in italic?

    Thanks!

    #42658
    Sakin
    Keymaster

    Hi Kath,

    If you upgrade to Catch Everest Pro version, then you will get Footer Menu. But if you want this in free theme. Then first you need to build child theme http://catchthemes.com/blog/create-child-theme-wordpress/. You shouldn’t edit any core theme file inside catch-everest theme directory, as these files will be reverted back to original when you update or upgrade the theme.

    First build child theme and the register new menu and add to the footer using action hook. Just add the following code in your child theme functions.php file

    /**
     * Register Menus
     *
     * @uses after_setup_theme action
     */
    function catcheverest_child_setup() {
    	/**
         * This feature enables custom-menus support for a theme.
         * @see http://codex.wordpress.org/Function_Reference/register_nav_menus
         */		
    	//register_nav_menu( 'primary', __( 'Primary Menu', 'catcheverest' ) );
    
    	register_nav_menus(array(
    		'primary' 	=> __( 'Primary Menu', 'catcheverest' ),
    		'footer'	=> __( 'Footer Menu', 'catcheverest' )
    	) );
    
    }
    add_action( 'after_setup_theme', 'catcheverest_child_setup' );
    /**
     * Shows Footer Menu
     *
     * @uses catcheverest_site_generator action to add it in the header
     */
    function catcheverest_child_footer_menu() { ?>
    	<div id="footer-menu">
            <nav id="access" role="navigation">
                <h2 class="assistive-text"><?php _e( 'Footer Menu', 'catcheverest' ); ?></h2>
                <div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to Footer Content', 'catcheverest' ); ?>"><?php _e( 'Skip to Footer Content', 'catcheverest' ); ?></a></div>
                <?php
    			if ( has_nav_menu( 'footer' ) ) { 
    				$catcheverest_footer_menu = array(
    					'theme_location'    => 'footer',
    					'depth'           	=> 1,
    					'container_class' 	=> 'menu-header-container', 
    					'items_wrap'        => '<ul class="menu">%3$s</ul>' 
    				);
    				wp_nav_menu( $catcheverest_footer_menu );
    			}
                ?> 	         
            </nav><!-- .site-navigation .main-navigation -->  
    	</div>
    <?php
    }
    add_action( 'catcheverest_site_generator', 'catcheverest_child_footer_menu', 5 );

    Then add the following css in your child theme style.css file.

    #footer-menu {
    	float: right;
    }
    #footer-menu ul.menu li {
        display: inline-block;
        position: relative;
        text-align: left;
    }
    #footer-menu ul.menu a {
        color: #eee; 
        padding: 0 20px;
    }
    #42671
    Kath
    Member

    Hi, thanks for the quick answer!

    I built the child theme with a style.css and then createed a function.php in the same way and put it in the child theme as well. Everything seems fine. But when I copy your first two codes in the function.php and try to save it I get the message:

    Parse error: syntax error, unexpected ‘}’ in /var/www/web1071/html/wordpress/wp-content/themes/catch-everest-child/functions.php on line 68

    After that everything is down and I have to replace the function.php to reach my website again…

    Kath

    #42695
    Kath
    Member

    I try and try…

    Now I tried it with these: “<?php ?>” in the functions.php

    This is my Child-Theme functions.php with your codes:
    :

    After I saved it the letters of some words went crazy: ü „ ä rÃf!

    Nevertheless I put your code in the style.css:

    Then everything went down again with the message:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/web1071/html/wordpress/wp-content/themes/catch-everest-child/functions.php:57) in /var/www/web1071/html/wordpress/wp-includes/pluggable.php on line 1121

    Sorry to bother…
    Kath

    #42700
    Sakin
    Keymaster

    @Kath: Sorry for detail if you cannot solve it then consider hiring customizer http://catchthemes.com/hire-customizer/.

    Ok I will explain it more:
    1. You can download the sample Catch Everest Child theme from http://catchthemes.com/blog/create-child-theme-wordpress/
    2. Then you can copy the code from https://gist.github.com/catchthemes/d7c8e39c6490c80b3eca and paste it in your child theme functions.php file.
    3. Then add the css that I gave you in your chid theme style.css file just below the code

    /* =Child Theme Custom CSS
    -------------------------------------------------------------- */
    #42714
    Kath
    Member

    Thanks!
    Please, which one… there is only one for Catch Everest Pro

    Catch Box Pro Child Theme. Click here to download
    Catch Box Child Theme. Click here to download
    Simple Catch Pro Child Theme. Click here to download
    Catch Evolution Pro Child Theme. Click here to download
    Catch Everest Pro Child Theme. Click here to download
    Catch Kathmandu Child Theme. Click here to download
    Catch Kathmandu Pro Child Theme. Click here to download
    Adventurous Child Theme. Click here to download
    Adventurous Pro Child Theme. Click here to download
    Catch Mustang Child Theme. Click here to download

    #42726
    Sakin
    Keymaster

    @Kath: Strange, can you refresh and check in or click here

    #42749
    Kath
    Member

    Thanks again! I got it… finally 🙂
    This way the menu is inside the black bar. And the bar becomes thicker.
    I would like to get it out of the black bar or move it inside in the middle. How I do this?

    I really appreciate your patience and help!
    Kath

    #42757
    Sakin
    Keymaster

    @Kath: I don’t know what you got. Can you explain with your site URL so that I can check in.

    #42772
    Kath
    Member

    I made a picture from this part again:

    I would like it in one of the red spots:

    #42800
    Sakin
    Keymaster

    @Kath: hum this looks complicated as we need to change the position and css. So, sorry you need to consider hiring customizer for this http://catchthemes.com/hire-customizer/

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Changing the position and font color of a footer-menu’ is closed to new replies.