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

    Hi!

    I having trouble getting a custom widget button on the header back after an update.

    please see this thread for the solution used:
    https://kriesi.at/support/topic/possible-to-get-a-custom-button-on-the-header/

    I’v added the code to the functions.php

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    And this to the custom.css

    #header .widget {
      left: 83%;
      padding-top: 0;
      position: absolute;
      top: -455%;
      transform: translate(-50%);
    }
    

    Thanx!

    #574702

    Hi Paul!

    Please change your code in custom.css file to following one

    #header .widget {
      left: 83%;
      padding-top: 0;
      position: absolute;
      top: 0;
      transform: translate(-50%);
    }

    Best regards,
    Yigit

    #574747

    HI!

    Thank it’s visible now, but for some reason it’s not clickable ? The widget is unchanged ?

    code for the widget
    [av_button label='Golfbaren GBG' link='manually,http://golfbarenallen.se' link_target='' size='medium' position='center' icon_select='yes' icon='ue881' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff']

    Thanx!

    #574931

    I got it to work i got the wrong code in the functions.php

    Thanx!

    #574933

    Hi!

    Glad you got it short out!
    Please do let us know if you need anything else, we will be more than happy to help!

    Cheers!
    Basilis

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