Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #969963

    Hi,
    Excellent theme.
    Anyway, I am using a script which asking:
    With some themes and due to divs arrangement, the floating hover popup may be pushed away from where it should be, to avoid that we recommend that you cut the span map-tip line of code and paste it just after the opening body tag or in the footer section of the page like this:
    <body>
    <span id=”map-tip”></span>
    You can access the theme files and find the file that has the opening body tag through your admin panel > “appearance” > “Editor” > in the right side section > find the file that has the opening body tag (usually: header.php) > paste this code <span id=”map-tip”></span> just after the line of the opening body code.

    But can’t find it.
    Thanks for the support
    X.

    • This topic was modified 6 years, 5 months ago by koomo. Reason: Solved
    #969984

    Hi,

    The body tag is in header.php

    Cheers.

    #969996

    Hi,
    Thank you for prompt answer.
    I knew it but it breaks the CSS and header disappear.
    Here is what I did
    <body id=”top” <?php body_class( $rtl_support . $style.” “.$avia_config[‘font_stack’].” “.$blank.” “.$sidebar_styling); avia_markup_helper(array(‘context’ => ‘body’)); ?>>

    <span id=”map-tip”>

    #970301

    Hi,

    Please try this in your functions.php file instead:

    function koomo_add_map_tip(){
    echo '<span id="map-tip"></span>';
    }
    add_action('ava_after_body_opening_tag', 'koomo_add_map_tip');

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.