Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1470124

    Hi
    Is it possible to add plain text ( like an adress ) in the left side bar menu?
    Like the text u you can add in the top bar menu..( telephone number etc. )
    Greetz Karin

    #1470195

    Hey leloux,

    Thank you for the inquiry.

    You can use the ava_main_header_sidebar hook in the functions.php file to insert additional content to the left sidebar menu or header:

    Example:

    The following will add a paragraph element:

    add_action( 'ava_main_header', 'ava_header_sidebar_custom_text' );
    function ava_header_sidebar_custom_text() {
      echo "<p class='av-sidebar-header-text'>Additional text</p>";
    }

    This one will insert a widget area called “header-top”:

    add_action( 'ava_main_header', 'ava_header_sidebar_widget_area' );
    function ava_header_sidebar_widget_area() {
      dynamic_sidebar( 'header-top' );
    }

    Best regards,
    Ismael

    #1470229

    Hi Ismael
    Tnx but where do i adjust and edit the additional text?
    Can the additional text also be at the bottom of the left side bar menu?
    Greetz
    Karin

    #1470252

    Hi,

    You can change the text in this line:

    echo "<p class='av-sidebar-header-text'>Additional text</p>";

    If you add the content and link to where we can see the actual element, then we can help you out with styling.

    Best regards,
    Rikard

    #1470255

    Hi Rikard
    That would be great but is it possible to put the text line at the bottom of the left side bar menu?
    This is the content:

    Psychologenpraktijk Sterk
    Hogezoom 15 4328 EE
    Burgh-Haamstede
    e-mail: (Email address hidden if logged out)
    tel.nr: 06-54356557

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