How do I style horizontal menu?
-
OK, I feel like I’m going nuts. I have a basic grasp of how to do things in html and CSS, and I put together an OK website. But my whole blog (except for the stylesheet) is in php. I don’t understand how to link php together with the stylesheet that governs it.
My blog is at https://bendingtreearts.com/blog
I want to make a HORIZONTAL nav menu just below my blog header, to have a link to my home page, and also links to other pages (like “about”).
Two links currently exist, in default design form, which is plain and VERTICAL. I want the links in boxes, and have them be a certain font and color and so on.
I’m working with Thematic, and I have a child theme. I a functions.php file into my child theme, which is responsible for inserting the link to my blog home page.
Here’s my entire functions.php file:
<?php
function childtheme_menu_args($args) {
$args = array(
‘show_home’ => ‘Home’,
‘sort_column’ => ‘menu_order’,
‘menu_class’ => ‘menu’,
‘echo’ => true
);
return $args;
}
add_filter(‘wp_page_menu_args’,’childtheme_menu_args’);
?>My main question is, how do I link my stylesheet up to this php function, so that the menu is styled the way I want? I removed all the #menu portion of my stylesheet and nothing changed. The whole menu is currently styled according to some kind of default theme setting.
I feel like there must be a really obvious answer to this question, but I’m just befuddled.
- The topic ‘How do I style horizontal menu?’ is closed to new replies.