Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #643543

    I want to add a widget to the header of a site using the Enfold Theme. However, I followed your documentation and added the code to the function.php page, and the Quick CSS code (see below). Unfortunately, the format for the menu is now out of whack (with the menu list in very small type and the the item run over one another.)

    The code I put in the function.php file was the one used if the menu is below the header.

    Can you help me fix this problem?

    Here is what I put in the function.php line:
    add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    Here is what I put in the Quick CSS
    #header .widget {
    left: 50%;
    padding-top: 0;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    z-index: 999;
    }

    kfranck

    #643567

    Please ignore this previous request. It was a problem with the plug in. The code works fine now. You can close this post.
    Thanks,

    Kurt

    #643578

    Hi!

    Glad it got it short out.
    Please let us know if we can help you, with any other way.

    Thanks a lot for using our theme

    Cheers!
    Basilis

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