Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8998871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:05:48+00:00 2026-06-16T00:05:48+00:00

I need to have my navigation bar positioned over my header image. I cannot

  • 0

I need to have my navigation bar positioned over my header image.
I cannot use the background url property in CSS as I have multiple navigation bars and header images for different pages. I would like the navigation to be floated right so it is offset to the image, but partly over the image.

            Button 1 | Button 2 | Button 3 | Button 4
Header Image

I have tried many ways for example placing them same div and using CSS position absolute on the image. This cases the navigation to stop working. When I use position absolute on the navigation I cannot move the navigation far enough to the right (right: 200px) cannot move anymore!
Does anyone know how to achieve the desired result as described above? Thanks in advance!
HTML PHP

<div id="navigation-container">

 <nav id="np-access" role="navigation">
   <?php if ( (is_page(20) || is_page(22) || is_page(24) || is_page(26) ||    is_page(28)) ) { 
        wp_nav_menu( array( 'theme_location' => 'third') );
   }else{
        wp_nav_menu( array( 'theme_location' => 'secondary') );
   }
?>
 </nav>
</div>

<?php if ( (is_page(20) || is_page(22) || is_page(24) || is_page(26) || is_page(28)) )    { 
    echo '<img src="<path ito image" width="194" height="166"/>';
}
else{
   echo '<img src="<path ito image" width="194" height="166"/>';
}
?>

At the moment the image is not styled as it is in the position I require.

Navigation CSS

#np-wedding-nav{
  float: right;
  padding-right: 100px;
  height: 40px;
  position: relative;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:05:49+00:00Added an answer on June 16, 2026 at 12:05 am

    I would like the navigation to be floated right so it is offset to the image, but partly over the image.

    Give the navigation a negative margin:

    nav {margin-left: -100px}
    

    Or position is relatively:

    nav {position: relative; left: -100px}
    

    In any case: change the order of both the navigation and the image in the markup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a navigation bar and I need to always keep the current one
I have a tab bar along with navigation controller iphone application. Now I need
I have a site that has a scrolling navigation bar. I need to save
I have a navigation bar, and I need the active page, marked by subactive
I have added Navigation bar and Navigation Item in xib. Now I need to
I have a horizontal navigation bar. Each button is a span with a background
I have a navigation-based application with the navigation-bar hidden but I still need a
I need to have a Tab Bar navigation at the end of a branch
Possible Duplicate: How to add background image on iphone Navigation bar? I am looking
I have a navigation bar with some items like below screenshot. I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.