Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #585774

    I have a client who is using an event/adventure planning system from Fare Harbor on the site. They provide some shortcodes and scripts that open up lightframes. (registration popups) However these offerings provide a plain text “Book Now” link. I would like to figure out how to make the Enfold buttons pull up these lightframes instead of an ugly plain text link.

    #586681

    Hi!

    Simply add the button class to the markup, like:

    <a href="https://fareharbor.com/cbstadventures/items/16545/" onclick="FH.open({'shortname':'cbstadventures','fullItems':'yes','view':{'item':'16545'}}); return false;" class="button">Book now!</a>
    

    Regards,
    Josue

    #586827

    Ok Great, so this is a good start. There is now indeed a working button. Its style is different from the buttons I currently have on the page. Is there a way to make it a centered light transparent button like the site currently has?

    See the Fat Bike Section for the comparison.

    #587017
    <a class="avia-button  avia-icon_select-no avia-color-light avia-size-large avia-position-center " href="https://fareharbor.com/cbstadventures/items/16545/" onclick="FH.open({'shortname':'cbstadventures','fullItems':'yes','view':{'item':'16545'}}); return false;">Book now!</a>
    

    That will do it but make sure you place it on a colored section otherwise you won’t see anything.

    #587478

    Ok, so this 99% worked. It just isn’t aligning center for some reason.

    And then is there a way to get the same integration with the Enfold main menu?

    I tried adding the link as the URL and setting attributes to:
    onclick=”FH.open({ shortname: ‘cbstadventures’, view: { item: 16545 }, fullItems: ‘yes’ }); return false;

    It almost worked but doesn’t pull up the lightbox.

    #587807

    Hi!

    Try using this plugin:
    https://wordpress.org/plugins/jin-menu/

    Regards,
    Josue

    #588058

    Ya I would stop recommending that plugin, it breaks the drop downs and hasn’t been updated for the latest versions of wordpress. It is garbage. I found a solution that doesnt achieve this but works as well.

    Any reason why the avia-position-center wouldnt be working?

    #588539

    Hey!

    Try adding this code to the Quick CSS:

    #top .avia-position-center {
        margin: 0 auto;
        max-width: 120px;
        display: block;
    }

    Cheers! 
    Josue

    #717356

    Hey guys, rebuilding this site and I need the same thing done but am running into CSS Class issues. I am trying to get the link to show up as a full-width button this time instead of the avia light button.

    Previous Code:
    <a href="https://fareharbor.com/cbstadventures/items/24543/" target="_blank">Book now!</a>

    Now I am needing the CSS portion to match the blue Book Now button on the page linked in private section. I tried a few things but its not working:

    Custom: avia_button_background avia-button avia-button-fullwidth avia-color-custom
    Blue: avia_button_background avia-button avia-button-fullwidth avia-color-blue

    Both cause super bizzare issues. Not sure what I am missing.

    #718088

    Hey!

    Could you please provide a screenshot of the changes that you would like to make? Why are you using different elements in the test page when you can just use the plugin’s shortcode?

    Cheers!
    Ismael

    #718126

    I edited the test page to help explain. Something about putting the shortcode in that section breaks it and turns the entire column into a button. The button is also transparent to begin… Very hard to explain which is why I figured I would try showing.

    #719668

    Hi,

    try this code inside Quick CSS field:
    .flex_column.av_one_third.flex_column_div.av-zero-column-padding.avia-builder-el-33.el_after_av_one_third.el_before_av_one_third .avia_button_background {

    opacity: 1 !important;
    height: 70px;
    }

    and adjust height value as needed.

    Best regards,
    Andy

    #720023

    Ok, so this fixed the center button in the test page. That button is now perfect and does exactly what I need it to do. I tried replicating this for another page (in private content) using this shortcode and don’t think I quite got it right since it isn’t working.

    
    flex_column av_one_fourth.no_margin.flex_column_div.avia-builder-el-9.el_after_av_three_fourth.el_before_av_one_full .avia_button_background {
    opacity: 1 !important;
    height: 70px;
    }
    

    The button is right above the contact us button. Almost have this figured out and working, thanks so much for the ongoing effort.

    #720991

    Hi,

    try this code:

    .flex_column.av_one_fourth.no_margin.flex_column_div.avia-builder-el-9.el_after_av_three_fourth.el_before_av_one_full a:hover {
    opacity: 0 !important;
    }
    #top .avia-button-fullwidth:hover {
    opacity: 1 !important;
    }

    Best regards,
    Andy

    #721393

    Awesome Awesome Awesome! Got the button working which is the important part.

    I am using .avia_button_background avia-button avia-button-fullwidth avia-color-blue as the class on the link currently. Ideally I would want to use the darker blue #2d5c88 but I am unsure how to apply that to the class and failed through CSS.

    .avia_button_background avia-button avia-button-fullwidth avia-color-blue {
    background-color: #2d5c88 !important;
    }

    Any ideas?

    #721633

    Hi,

    not sure what you mean. Can you provide us precise link showing the elements you’re talking about please? also screenshots could help us to make things clear for us.

    Best regards,
    Andy

    #721863

    Oh, I am just using the standard blue button preset color for the full-width button class but you can set custom colors on full-width buttons. How would I change the color to a custom color. Does the class change or do I use CSS?

    On my test page take a look at the left button, uses different class but the color isnt defined in the class alone.

    .avia_button_background avia-button avia-button-fullwidth avia-color-blue

    vs

    .avia_button_background avia-button avia-button-fullwidth avia-color-custom

    #722448

    Hi,

    use this code:

    .avia-button.avia-color-blue {
    background-color: red;
    }
    .avia-button.avia-color-blue:hover {
    background-color: green;
    }

    and adjust color as needed.

    Best regards,
    Andy

    #722631

    Thank you! You guys have by far the best support of the 5 themes I have used.

    #723144

    Hi,

    Glad we could help!
    We really appreciate it if you rate our theme on themeforest https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Andy

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Button Integration with Fare Harbor’ is closed to new replies.