- This topic has 11 replies, 2 voices, and was last updated 10 years, 3 months ago by Sakin.
-
AuthorPosts
-
August 17, 2014 at 10:30 pm #42651KathMember
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’ );
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!
KathAugust 18, 2014 at 12:13 am #42657KathMember… and is there a css to change the font of the Hompage Headline in italic?
Thanks!
August 18, 2014 at 12:16 am #42658SakinKeymasterHi 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; }
August 18, 2014 at 5:25 am #42671KathMemberHi, 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
August 18, 2014 at 8:08 pm #42695KathMemberI 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…
KathAugust 18, 2014 at 10:47 pm #42700SakinKeymaster@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 -------------------------------------------------------------- */
August 19, 2014 at 12:12 am #42714KathMemberThanks!
Please, which one… there is only one for Catch Everest ProCatch 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 downloadAugust 19, 2014 at 2:04 am #42726SakinKeymaster@Kath: Strange, can you refresh and check in or click here
August 19, 2014 at 9:21 pm #42749KathMemberThanks 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!
KathAugust 19, 2014 at 11:28 pm #42757SakinKeymaster@Kath: I don’t know what you got. Can you explain with your site URL so that I can check in.
August 20, 2014 at 12:45 am #42772KathMemberI made a picture from this part again:
I would like it in one of the red spots:
August 20, 2014 at 9:41 pm #42800SakinKeymaster@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/
-
AuthorPosts
- The topic ‘Changing the position and font color of a footer-menu’ is closed to new replies.