www.webdeveloper.com
Results 1 to 5 of 5

Thread: Copying a menu from one site to another

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    9

    Copying a menu from one site to another

    Hi there,

    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?

    Help appreciated

  2. #2
    Join Date
    Feb 2011
    Location
    Chuluota, Florida
    Posts
    144
    Well you can call an external css stylesheet in html in the head section by typing:

    Code:
    <link rel="stylesheet" type="text/css" href="path/to/your/css/document" />
    Is that what you were looking for?

  3. #3
    Join Date
    Feb 2011
    Posts
    9
    Quote Originally Posted by PBSWebDesign View Post
    Well you can call an external css stylesheet in html in the head section by typing:

    Code:
    <link rel="stylesheet" type="text/css" href="path/to/your/css/document" />
    Is that what you were looking for?
    Thanks!

    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.

    Code:
    <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>
    </ul>  
    
    			<div id="emptysubnav">
       				<?=newThemeOptions_categoriesSubmenu(true);?>
       			</div>
      		    </div> <!-- Main Menu Ends-->
       			<div style="clear:both"></div>		  
    		</div><!-- Wrapper Left Ends-->

  4. #4
    Join Date
    Feb 2011
    Posts
    9
    Quote Originally Posted by caribbeanflyboy View Post
    Thanks!

    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.

    Code:
    <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>
    </ul>  
    
    			<div id="emptysubnav">
       				<?=newThemeOptions_categoriesSubmenu(true);?>
       			</div>
      		    </div> <!-- Main Menu Ends-->
       			<div style="clear:both"></div>		  
    		</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.

  5. #5
    Join Date
    Feb 2011
    Location
    Chuluota, Florida
    Posts
    144
    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
    ----------------------------------------------------------------------------------------------
    WYSIWYG editors will never beat my hand written code!!!! Learn to do it in notepad and learn how to actually control your website! Current Project http://www.jmcanineservices.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles