Copying a menu from one site to another
I'm trying to get (create) a menu from one site, as located here to here.
The first link,my main site is using wordpress as the platform, the css code for the stylesheet can be found here.
I'm able to place css code on the next site, but how do I actually call it when trying to build the menu? Html code?
Well you can call an external css stylesheet in html in the head section by typing:
Is that what you were looking for?
<link rel="stylesheet" type="text/css" href="path/to/your/css/document" />
Originally Posted by PBSWebDesign
I've placed the following in the header as taken from the header of my main site. It takes up to 15 minutes to update, I'll let you know if it works.
<link rel="stylesheet" type="text/css" href="http://caribbeantl.com/wp-content/themes/traveler_magazine_4.0_basic_package/style.css" />
<div class="wrapper_left"><!-- Wrapper Left starts-->
<div id="menu_navigation"> <!-- Main Menu Starts-->
<ul id="menu-one" class="menu">
<li ><a href="<?php echo get_option('home'); ?>/" class="on"><?php _e("Home","traveler");?></a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' . __('') . '' ); ?>
<li><a href="http://caribbeantl.com/forum/" target="_blank">Community Forum</a></li>
</div> <!-- Main Menu Ends-->
</div><!-- Wrapper Left Ends-->
Hey, it works! Now I just need to figure out how to center the menu, as it's out of place, have a look here.
Originally Posted by caribbeanflyboy
Looks centered to me when i view it unless you have fixed it since then. If not you can always do text-align: center; in your css section for the navigation and that should center it right up if you are using an unordered list displayed inline for the nav bar
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread