Adding a NavBar

  • QbanBuc

    #5550

    Hey all!

    I am trying to add a navigation bar at the very top of the site at thebaycave.com. I currently have a the google adsense upthere fine but when i add this code, <script src=”http://www.yardbarker.com/network.js” type=”text/javascript”></script><script defer=”false” type=”text/javascript”>_siteid = 11224; yardbar(); </script>, it places it behind the ad or behind the top bar if i remove the ad. i have included a screenshot. Can anyone help?

    2mws2l3.jpg

    Thanks in advance!

    Mod

    Kenneth John Odle

    #32211

    Why not just use Graphene’s built in secondary nav menu?

    QbanBuc

    #32212

    B/c my FOX affiliation needs that navbar at the top. 🙁

    Mod

    Kenneth John Odle

    #32213

    Did you add the Adsense code via an action hook widget area? If so, you can add the code for that menu bar to a text widget in the same widget area.

    QbanBuc

    #32214

    That’s exactly how it’s set up and everytime i either include it in the same text box or the different text widget box that is the result i get. Or if i remove the adsense code, it then hides behind the top bar.

    Mod

    Kenneth John Odle

    #32215

    Try this in a text widget in that action hook widget area:

    <div style="display:block;">
    <script src="http://www.yardbarker.com/network.js" type="text/javascript"></script>
    <script defer="false" type="text/javascript">_siteid = 11224; yardbar(); </script>
    </div>

    QbanBuc

    #32216

    Still nothing. Now I get the nav bar laid out on top of the ad lol… ay caramba

    ronangelo

    #32217

    add a <br />

    <div>Top Menu Code</div>
    <br />
    <div>Ad Code</div>

    QbanBuc

    #32218

    ronangelo, to the beginning or the end of my navbar code? (sorry for the ignorance)

    QbanBuc

    #32219

    ronangelo, that worked brother thank you SO MUCH! there is a gap from the top of th epage to the bar but at this point i dont care! thanks again!

    ronangelo

    #32220

    add this css to remove the top margin

    body {
    margin-top: 0 !important;
    }

    QbanBuc

    #32221

    ronangelo, you da man brotha! another successful code! thank you for your help man truly appreciate it!

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.