Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22490

    Is there a way to add a button (like Sign Up) in the header? I basically just need two things in the header on the right side – a Login link (easy via menu) and a Sign Up button (not sure how to do that).

    Thanks!

    #115949

    Sure, insert your button code above following line:

    echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>";

    I.e. use following code:

    echo '<div class="avia-button-wrap"><a href="http://kriesi.at/themes/enfold/features/" class="avia-button "><span class="avia_iconbox_title">Learn more...</span></a></div>';

    echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>";

    and replace the link and the text “Learn more..” with your custom values.

    #115950

    Thanks, I’ll give it a shot. Hoping you a make this an option in the dashboard so it’s easier for others.

    I’m trying to emulate sites like automatic.com or http://www.getfanba.se that have a service they’re selling with a strong call-to-action button in the header.

    I haven’t found any theme that do a good job of supporting this (yet).

    #115951

    Hi franktw,

    You can you can make a feature request for something like that here: https://kriesi.at/support/topic/enfold-feature-requests

    Otherwise, its pretty simple to just add a button or specific content into the main header or even try building the layout you want with the advanced layout editor and a blank page template (no header or footer and all manually added content).

    Regards,

    Devin

    #115952

    When I try to add a button it covers up the logo on the left and bumps the header down a row. Would be great to allow for a button element on the right-hand side of the header.

    #115953

    It also needs to get positioned with css and then further positioned for the various responsive sizes of the theme. If it is something that you definitely need to have I’d suggest having a freelance developer add it in for you and then do the css to position it how you need it. I would guess about an hour total to get it in and fully responsive.

    Another way you could do it would be to just style a specific menu item by its ID but again you would need to be at least familiar with CSS and using in-browser inspection tools.

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Button in Header’ is closed to new replies.