WordPress.org

Ready to get started?Download WordPress

Forums

Navigation bar link to external site (7 posts)

  1. Chris Fourie
    Member
    Posted 1 year ago #

    I have a Website hosted by Photoshelter at http://www.nightowl-photo.com and my Blog at blog-nightowl-photo.com

    I'm strugling to integrate te two to look like it's seemless.

    The navigation links onthe wordpres site is all done, with the "Blog" one pointing to the WordPress site.

    Now here's what I want to accomplish on the WordPress site:

    "Home" "About Us" "Services" "Blog" etc.
    Where "Home" points to the Photoshelter site and so on for te rest of the links.
    The "Blog" link needs to point to the homepage of my wordpress blog.

    I still however want the abillity to add pages on the wordpress site and have the show up on the navigation bar.

    How would I go about doing his?

    Thanx in Advance for your help ;)

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

  3. Chris Fourie
    Member
    Posted 1 year ago #

    Ok, I'm still lost.

    I enteredthat code and get an extra list under where I actually wanted the navigation lins

  4. Chris Fourie
    Member
    Posted 1 year ago #

    I'm a bit in over my head here with the coding.

  5. kwalizorg.nl
    Member
    Posted 1 year ago #

    Most themes will allow you to make custom menus.
    Go to dashboard - appearance- menus
    1. create a menu and give it a name like 'mainMenu'
    2. tick the boxes of the pages you want to add
    3. drag-in the pages that you want as sub-menu
    4. fill out 'custom links' to link the menu to your blog etc.
    easy peazie!

  6. Chris Fourie
    Member
    Posted 1 year ago #

    kwalizorg.nl That was extremely helpful, thanx. Now just one thing remains. How do I get rid of the search boxin the navigtion bar.
    I removed the other search boxes using the widgets, but the Navigation bar one is not under the widgets.

  7. kwalizorg.nl
    Member
    Posted 1 year ago #

    Hi Chris,

    To remove the searchbox from your navbar try the following

    make a backup of the file 'style.css'
    Edit 'style.css' with a TEXT editor such as notepad++ [not a wordprocessor]

    Line 471 of style.css reads:

    input#s {
        background: url("images/search.png") no-repeat scroll 5px 6px transparent;
        border-radius: 2px 2px 2px 2px;
        font-size: 14px;
        height: 22px;
        line-height: 1.2em;
        padding: 4px 10px 4px 28px;
    }

    Change this to
    input#s {
    background: url("images/search.png") no-repeat scroll 5px 6px transparent;
    border-radius: 2px 2px 2px 2px;
    font-size: 14px;
    height: 22px;
    line-height: 1.2em;
    padding: 4px 10px 4px 28px;
    display:none; /*this 'removes' the searchfield from the menubar*/
    }

    Should you at some stage want to reintroduce a search function, remove the line and all is restored

Topic Closed

This topic has been closed to new replies.

About this Topic