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

    Hello I want to add Custom Text to the Header Area
    Header-Type: Menu left +Menu below

    I did this so far:
    functions.php

    add_action('ava_after_main_menu','logo_text');
    function logo_text() {
    echo "<div class='logo-text'>This is my custom text!</div>";
    }

    css custom

    .logo-text {
    position: relative;
    top: -110px;
    left: 84%;
    line-height: 0; // if I place 28px the Menü below shifts 28 pixels, too
    }

    In order to add more than one line I need line-height: 28px but this affects the Menü below, too. It shifts 28 pixels down. (ava_after_main_menu)

    Question:
    Is there a way I can have line-height: 28px for the logo-text without affecting the main Menu below?!

    #345837

    Hi royaltask!

    Please forward us a link to your page you need to customise. Additionally, for us to have a better understanding of your requirements, please forward us a mock up or screenshot of the type of modification you wish to achieve.

    Cheers!
    Arvish

    #346108
    This reply has been marked as private.
    #346569

    Hi!

    Thank you for the screenshot.

    Replace the custom css with this:

    .logo-text {
    position: absolute;
    top: -90px;
    left: 84%;
    line-height: 28px;
    }

    Cheers!
    Ismael

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