• Hello,

    I recently add an ads area to the header of my site http://roinfo.gr.
    The problem is that the Menu height doubled.
    [IMG]http://i58.tinypic.com/mvgrqc.png[/IMG]

    I don’t understand where is the problem. Is it possible for you to help me?

    Thank you in advance
    Nick

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi anghelnick. Not sure how the ad would cause this, but your first menu item has two links assigned to it. This one, which is displayed as “Prima pagină”:

    <a href="http://roinfo.gr/">Prima pagină</a>

    And this one, which is on top of “Prima pagină” but doesn’t have any text assigned to it and only displays the dropdown arrow:

    <a href="http://roinfo.gr/scoala-de-limba-romana-din-salonic-sau-din-dragoste-pentru-romania/" target="_blank"></a>
    Thread Starter anghelnick

    (@anghelnick)

    The second link that is on top of Prima Pagina appeared after I added the ads area. If I remove that area the menu is looking as it should be. Something is wrong with that area…

    I took a look at your site and compared the source code to the elements actually be displayed. You can see the results here.
    Notes:
    1. Every place you see a ++ in the Pastebin code, an anchor tag has been inserted into the site that doesn’t exist in the source code.
    2. The <h1> heading tag in the source code is being displayed as a <p> tag.
    3. The first anchor inside the #nav_header container has wrapped two of the nav containers.
    4. If I remove the ad widget it does not remove any of the ++ added anchor tags.
    Something strange is going on.

    Thread Starter anghelnick

    (@anghelnick)

    First of all thank you for your time.
    I removed from the header.php the line

    <?php dynamic_sidebar(‘sidebar-header-ads’); ?>

    It was right after

    <?php if ( ot_get_option(‘site-description’) != ‘off’ ): ?><p class=”site-description”><?php bloginfo( ‘description’ ); ?></p><?php endif; ?>

    The menu is ok now, the anchor tags are gone but I don’t have the ads area in the header.
    There is any other way to insert an ads area to the header of my site?

    Thanks again

    If you’re using v2.2.0 from the theme website, it has built-in sidebars for header and footer ads. Drop in a text widget, add your ad code and it will be displayed. I provided a brief description for another user in this thread.

    Thread Starter anghelnick

    (@anghelnick)

    I have updated the theme to 2.2.0, activate the header-ads but in the widget area the header-ads is displayed as a line.

    http://tinypic.com/r/kf63om/8

    Thread Starter anghelnick

    (@anghelnick)

    Finally, I have managed to add the widget in the header but using ver 1.4.5.

    Thank you very much for your help bdbrown!!!

    You’re certainly welcome. If you don’t need any further assistance here please mark the topic as resolved. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Menu bar doubled in height after header ads area’ is closed to new replies.