Move Navbar Below Header

Thanks, I have tried to add that the following CSS to the style.css or the Infine.css but nothing is showing on the live site:

element.style {
position: absolute;
left: 0px;
top: 420px;
}

I am not sure if I am adding it to the wrong CSS file.

element.style is completely invalid. What element are you trying to add that to? I can’t see.

Edit-Ok it’s not INVALID but it’s not what the OP wants.

@RyanReese, thanks for your response. Am following what pdxSherpa suggested. I have added the first code to the header.php but it’s the CSS one where am having a bit of trouble. Am trying to move the navbar below the slider.

Yes you copied the CSS from the screenshot. However what ELEMENT is he highlighting? I can’t see it. Your CSS may very well work but right now it’s selecting <element class="style">(which you can see how ridiculous this looks.)

You are right, there is no element that he has highlighted. At this stage I have no idea which element to add that to.

Replace element.style with .navbar-inner

That’s what he was selecting. For some reason the image wasn’t opening for me. Had to switch browsers. Looking at the left pane you can quite easily tell what element he was highlighting :slight_smile: .

Thanks for your help @pdxSherpa and @RyanReese. That worked but the navbar scrolls as one scrolls the page too. Is it possible to make just for the homepage and for the rest of the pages it’s back to the normal navbar on the top?

Ahem…“He”?
As for the page. Try this.
Create a custom template.
You can do quite easily by making a copy of your index.php. for example call it “homepage.php” (or whatever)
at the top of the page you want this code

<?php
/**
 * Template Name: homepage (or whatever)
 *
 */
get_header(); ?>

now go to the page w/the content you want. In the “page attributes” you’ll see the “template” dropdown. Select “homepage” (or whatever) save, view your page. it should look the same at this point.
However you have created a new page that now has its own template you can target it as you want, move elements around and the index page can go back to how it was.
See if that helps.
D

Thank you.I tried that before but the content isn’t showing up like before. Am not getting the same homepage.

ok at this point a bit at a loss.
If you are making an identical copy of the index and all you do is give it a template name you should be getting the same content once you give it that template to the content.
sorry.

That’s what I did but no luck. Thanks for your help guys.

argh…sorry i can’t think of anything that could be causing this else at this point.
Give wordpress.org a shot. or of course it is a paid for theme (or free) try contacting whoever made it?
D

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.