Viewing 30 results - 5,491 through 5,520 (of 11,213 total)
  • Author
    Search Results
  • #850287

    Hi,

    Thanks for return.

    I have checked your page and add the following custom CSS code at Enfold Theme Options > General Styling > Quick CSS

    
    .wc-forward {
      display: none;
    }
    

    And I assume that you want to remove the “or” text as the PayPal button is the only one. So, if you want to remove it, just add the following code:

    
     .wcppec-checkout-buttons__separator {
        display: none;
    }
    

    Best regards,
    John Torvik

    #850284

    Topic: Simple Modal Pop Up

    in forum Enfold
    Joealto
    Participant

    Hi, I am trying to create a very simple pop up window. I have a paragraph of text and there is a read more button below. I want a window to open up when the “read more” button is clicked. Here is a link to a site that has something like what I want to achieve.

    http://mindbalancepsychology.com/services.html

    Can you tell me is this is something that Enfold supports and if so how I would achieve this?

    Thanks
    Joe

    Hey Sophie,

    Thank you for using Enfold.

    The editor somehow re-edited the code so we had to update it. The code should work.

    // https://kriesi.at/support/topic/how-to-make-enfold-social-share-buttons-availabe-for-other-custom-post-types/#post-722780

    Best regards,
    Ismael

    #850273
    ChristineB159
    Participant

    Hi there at support

    I had the page width set at 1310px and created some pages. All good.

    Then suddenly the pages became narrow – 910px

    I checked the settings but couldn’t fix it so I reset all the Enfold options using the “Reset all options” button. Then I set up all the options again and the width to 1410px this time.

    Everything else reset but the page width is still displaying at 910px.

    What to do please?
    Many thanks
    Frances

    #850249

    In reply to: Product grid

    Hi,
    Thank you for the code. Product grid is stretched now.
    Could you help with others too, please?
    “Then How I can change title font size in the product grid? I need it smaller. Its too big.
    How to increase font size of text “Add to cart” in small button at Product purchase button to same size like other Enfold buttons?
    And last, How to increase font and Checkout, View card etc pages? I could change font size for all my pages, but for woocommerce nothing works.”

    Thank you,
    L.

    #850116

    Topic: CSS conflict

    in forum Enfold
    webthatch
    Participant

    Hi
    A css question if I may please.
    All is well with the Enfold theme on my site.
    I have set up a plugin called ‘WooCommerce Product Table’, which enables me to show a simplified bulk order form.

    However it is causing a couple of issues with style / visibility which I cannot work out.

    The quantity selection up and down arrow buttons do not display in chrome nor chrome mobile nor edge nor safari mobile (in mobile safari and chrome the quantity number is not visible either).
    Their demo works, , in all of the above except edge (which I am not too bothered with) so I am sure the default enfold styling is conflicting somehow.
    The html looks pretty similar in comparison.
    On mobiles maybe the up down buttons are disabled as they would be too small.
    Is it possible that the styles are being overwritten somehow?

    I look forward to hearing back if you can offer any advice.
    Cheers

    #849898

    In reply to: Google Map Not Working

    Hi,

    Thanks for the login details, I get the same error on my end. Did you try the debugging suggestions:

    Check if you typed the key correctly.
    If you use the restriction setting on Google try to remove that, wait a few minutes for google to apply your changes and then check again if the key works here. If it does, you probably have a syntax error in your referrer url
    If none of this helps: deactivate all plugins and then check if the API works by using the button above. If thats the case then one of your plugins is interfering.

    If that doesn’t work then maybe you can generate a new key? http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/

    Best regards,
    Rikard

    #849785

    Topic: Product grid

    in forum Enfold
    Lukas
    Participant

    Hi,
    I can’t find solution, how to set a product grid to be full width stretched. It’s still boxed.
    Then How I can change title font size in the product grid? I need it smaller. Its too big.
    How to increase font size of text “Add to cart) in small button at Product purchase button to same size like other Enfold buttons?
    And last, How to increase font and Checkout, View card etc pages? I could change font size for all my pages, but for woocommerce nothing works.

    Thank you,

    #849619
    thetshed
    Participant

    Hi
    I checked everything on the checklist of http://kriesi.at/documentation/enfold/my-contact-form-is-not-sending-emails/
    and nothing is working. The button sends ok and the recipient receives the email but we do not get the information from the contact form.

    But this issue was solved because the only plugin i had active was the coming soon. Once i deactivated this it worked perfectly only once.

    So now i have no idea what to do please help

    the form is on https://meditateinsouthampton.org.uk/get-involved/

    i have activated coming soon again – it is ok to disable temporarily if you work on the site

    • This topic was modified 8 years, 6 months ago by thetshed. Reason: did not work after all
    #849572

    Hey mmichael1991,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    #top .avia_ajax_form .button {
        width: 100%;
    }

    Hope this helps :)
    Best regards,
    Nikko

    Sophie
    Participant

    Dear Enfold-team,

    I would love to have your Social Share Buttons in each single event post of the Event Calendar plugin. I found this topic https://kriesi.at/support/topic/how-to-make-enfold-social-share-buttons-availabe-for-other-custom-post-types/. Is your below given code still valid?

    add_action('tribe_events_single_event_after_the_content', 'tribe_events_single_event_after_the_content_mod');
    function tribe_events_single_event_after_the_content_mod() {
    	echo do_shortcode("[av_social_share title='Share this entry' style='' buttons='' custom_class='']");
    }

    The participant wrote that “In fact it ends up in another <div> and that causes that the boxes containing the eventdata will be pushed out of the visible screen if you look on a mobile phone“, so you edited the code a bit, but did not tell how.

    Can you please help and provide the correct code that I may use? That would be great. Thanks a lot for your efforts in advance.

    Best regards
    Sophie

    #849360

    In reply to: Pre purchase questions

    Zain
    Guest

    Hi Baslis

    You do know it is not possible to register without a purchase code, so I am not sure how to do that to ask pre purchase questions. You make it quite difficult to interact to actually ask questions to buy your product; I’ve been trying for almost two weeks. It would have been nice had you just replied instead of replying that I should register and then re ask the same questions for the 4th time when you could have just searched for them and answered. Your own REPLY below says the line between the delimiters so naturally one is expecting an Answer. Since you found the last email where I said please answer, this is the 3rd attempt, why not just answer the actual question at the same time too rather than just saying submit it again?? Not very courteous.

    Moreover,why you do you have a pre sales question form if rather have people to register?? Why not say that? But then of course, no one can register anyway. All very confusing and has wasted a lot of time already.

    Anyway, my original question as I received BACK in your reply, is below.

    Thanks
    Zain

    —– Original message —–
    From: “Support | Kriesi.at – Premium WordPress Themes – PreSaleRequest Contact” < (Email address hidden if logged out) >
    To: (Email address hidden if logged out)
    Subject: Pre-purchase Enfold questions
    Date: Mon, 4 Sep 2017 21:20:13 +0000

    Thank you for your request. It has been routed to our support forum. You will be informed by mail, when our staff has answered your questions.

    Your Message:

    Forum: Pre Sale Questions

    Name: Zainul Ebrahim
    E-Mail: (Email address hidden if logged out)
    Subject: Pre-purchase Enfold questions
    Message: Hi I have some questions re Enfold pre purchasing: a) if i have a sticky menu that is a mega menu and sidebar menu too and both the sidebar and the main menu items have links to anchors will they scroll to the right place? in other themes, the main menu scrolls to the anchor and it displays properly but the sidebar menu scrolls to the anchor incorrectly as it ends up under the sticky menu. you also allow a second sticky menu under the sub header, can that be used to scroll to anchors properly if the main menu and secondary is sticky? in my site, i want to do this due to diving into related content. i) on the main mega menu, there would be a title \’Products\’. Which I click on that it goes to the first of the product pages, Prod 1. That page has your second sticky menu with the list of the products. Prod 1 is highlighted as I am there. In that page, there are sections with anchors. There is a sidebar menu that lists all the sections. Clicking on the section scrolls the page to there. And the section is highlighted if possible. If the scrollbar menu can scroll with the page that would be good. That section in am in should then remain highlighted. Can I do this or if not all of it, what can I in the standard 2017 Enfold. ii) Can I use Anchors on the mega menu to directly jump to the section in a Products page as explained above? iii) Can I use Buttons to jump to such an anchor on the same page or from some other page? b) for a blog post, can I have related items AND recommended items that are specific posts I want to show links for at the bottom of the post? Can I show these in the exactly same style of image+text as https://www.helpscout.net/blog/? d) do most theme customizations need php and a child theme or i can just add CSS (is there a place in the theme settings or options to add custom CSS) to do most of those. I don\’t want to do any php coding at all if possible.. e) Re deep linking, you say that is used on accordion/toggle. Can it be used with Tabs and Tabs section too so the right tab is reached just as the right toggle is opened with deeplinking URL? f) Do you have a drop down \’action bar\’ or such sliding element above the header. Usually a small strip you click on and a curtain slides down that holds widgets, etc. Thanks Zainul

    #848602

    Hi,

    Thank you for the details and sorry for the late reply.

    Checking the page shows a broken layout of the HTML structure.

    I do not want to modify your existing pages.

    But just for a try can you add an empty section right before the fullwidth button and check, if this helps?

    To locate the problem we need to check the internal structure of the ALB shortcodes.

    Please activate the debug window: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Sorry for the inconvenience.

    Best regards,
    Günter

    morrisoncloud
    Participant

    I need buttons in the Enfold Advanced Layout Editor to be able to link shortcode

    [sg_popup id=1]Click Me[/sg_popup]

    The code above makes a clickable link, but I’d like to use it as URL in the Button Settings?

    Any possibility?

    #848111

    In reply to: Zweites Menü

    Hi Edgar,

    Thanks for contacting us!

    Please refer to this post – http://kriesi.at/documentation/enfold/display-footer-menu-scroll-to-top-button-on-mobile/

    To see the links and receive full support, please register to our support forum – https://kriesi.at/support/register/ and start a new thread under Enfold sub forum :)

    Regards,
    Yigit

    #847990

    Hi Khalid,

    Then I would suggest that you turn on the custom CSS field for all builder elements: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/, then give the buttons you want to target a specific class. For instance, my-button-class, then you can use this CSS:

    .my-button-class.avia-button {
        min-width: 240px;
    }

    If you only remove the page id class then it will apply to all buttons on your site, and I don’t think that would be a good idea.

    Best regards,
    Rikard

    #847929
    Zainul Ebrahim
    Guest

    Hi

    I have some questions re Enfold pre purchasing:

    a) if i have a sticky menu that is a mega menu and sidebar menu too and both the sidebar and the main menu items have links to anchors will they scroll to the right place?

    in other themes, the main menu scrolls to the anchor and it displays properly but the sidebar menu scrolls to the anchor incorrectly as it ends up under the sticky menu.

    you also allow a second sticky menu under the sub header, can that be used to scroll to anchors properly if the main menu and secondary is sticky?

    in my site, i want to do this due to diving into related content.

    i) on the main mega menu, there would be a title ‘Products’. Which I click on that it goes to the first of the product pages, Prod 1. That page has your second sticky menu with the list of the products. Prod 1 is highlighted as I am there. In that page, there are sections with anchors. There is a sidebar menu that lists all the sections. Clicking on the section scrolls the page to there. And the section is highlighted if possible. If the scrollbar menu can scroll with the page that would be good. That section in am in should then remain highlighted. Can I do this or if not all of it, what can I in the standard 2017 Enfold.

    ii) Can I use Anchors on the mega menu to directly jump to the section in a Products page as explained above?

    iii) Can I use Buttons to jump to such an anchor on the same page or from some other page?

    b) for a blog post, can I have related items AND recommended items that are specific posts I want to show links for at the bottom of the post? Can I show these in the exactly same style of image+text as https://www.helpscout.net/blog/?

    d) do most theme customizations need php and a child theme or i can just add CSS (is there a place in the theme settings or options to add custom CSS) to do most of those. I don’t want to do any php coding at all if possible..

    e) Re deep linking, you say that is used on accordion/toggle. Can it be used with Tabs and Tabs section too so the right tab is reached just as the right toggle is opened with deeplinking URL?

    f) Do you have a drop down ‘action bar’ or such sliding element above the header. Usually a small strip you click on and a curtain slides down that holds widgets, etc.

    Thanks
    Zainul

    #847848

    Topic: Add "button" read more

    in forum Enfold
    FranceLinguistics
    Participant

    Hello,

    I’m trying to add the read more button on the Enfold (default) theme. I tried in a text editor, a block of text using the tag read on by checking in txt and visual but it does not work.

    I did a search on the forum but I found nothing that meets my request.

    Is this possible on this theme?

    I have checked the settings in the Settings -> Read -> Extract option (is enabled)

    thanks in advance

    #847819
    This reply has been marked as private.
    #847720

    Hey Khalid,

    Please try the following in Quick CSS under Enfold->General Styling:

    .page-id-1653 .avia-button {
        min-width: 240px;
    }

    Best regards,
    Rikard

    #847712
    DDamjanovic
    Participant

    Hi,

    users with the role “author” can’t see the Enfold shortcode button in the WP editor (posts). I don’t know why.

    Best regards
    David

    • This topic was modified 8 years, 7 months ago by DDamjanovic.
    #847542

    Hi,

    Thanks for providing that, I have checked it and removed the code from functions-enfold.php and put it in functions.php, also noticed you are not using a child theme, I would suggest using that since the code added will be lost during theme update since it’s in the main enfold theme. try checking out the child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/

    As for the button, can you add this to Quick CSS (located in Enfold > General Styling):

    .single-product p.cart {
        width: 100%;
    }

    Hope this helps :)

    Best regards,
    Nikko

    #847507

    Hi,

    Please try the following in Quick CSS under Enfold->General Styling to make them the same width:

    .page-id-3415 .avia-button.avia-color-dark {
        min-width: 250px;
    }

    Best regards,
    Rikard

    #847427

    Hey med,
    Sorry those are not active Hooks or Filters in Enfold
    But here is the list or them:

    /*Hooks*/
    ava_main_header
    ava_main_header_sidebar
    ava_after_main_title
    ava_after_main_container
    ava_before_bottom_main_menu
    ava_inside_main_menu
    ava_before_bottom_main_menu
    ava_after_main_menu
    ava_after_main_container
    ava_after_content
    ava_before_content
    ava_add_custom_default_sidebars
    ava_frontend_search_form
    ava_search_after_get_header
    ava_before_footer
    ava_mailchimp_contact_form_elements
    
    /*Filters*/
    avf_blog_style
    avf_author_name
    avf_update_theme_tab
    avf_modify_thumb_size
    avf_default_icons
    avf_dynamic_stylesheet_filename
    avf_menu_items
    avf_fallback_menu_items
    avf_ajax_search_query
    avf_ajax_search_function
    avf_ajax_search_messages
    avf_ajax_search_label_names
    avf_ajax_search_excerpt
    avf_ajax_search_no_excerpt
    avf_social_widget
    avf_title_args
    avf_header_setting_filter
    avf_header_classes
    avf_sidebar_menu_filter
    avf_builder_elements
    avf_mega_menu_post_meta_fields
    avf_allow_drag_drop
    avf_frontend_search_form_param
    avf_sidebar_position
    avf_custom_sidebar
    avf_show_default_sidebars
    avf_show_default_sidebar_pages
    avf_show_default_sidebar_categories
    avf_show_default_sidebar_archiv
    avf_template_builder_content
    avf_wp_link_pages_args
    avf_tag_label_names
    avf_related_post_loop
    avf_avia_menu_conditions
    avf_execute_avia_meta_header
    avf_markup_helper_args
    avf_markup_helper_attributes
    avf_markup_helper_output
    avf_logo
    avf_author_email
    avf_author_description
    avf_loop_author_content
    avf_exclude_taxonomies
    avf_loop_index_blog_meta
    avf_google_content_font
    avf_social_icons_options
    avf_google_heading_font
    avf_skin_options
    avf_portfolio_cpt_args
    avf_safe_string_trans
    avf_ajax_form_class
    avf_form_el_name_length
    avf_contact_form_submit_button_attr
    avf_form_el_filter
    avf_datepicker_dateformat
    avf_form_send
    avf_form_sendto
    avf_form_from
    avf_form_subject
    avf_form_mail_field_values
    avf_form_use_wpmail
    avf_form_mail_header
    avf_form_copy
    avf_form_message
    avf_form_custom_autoresponder
    avf_form_autorespondermessage
    avf_form_autoresponder_from
    avf_load_google_map_api
    avf_file_upload_capability
    avf_file_upload_extra
    avf_google_fontlist
    avf_option_page_init
    avf_option_page_data_init
    

    Best regards,
    Mike

    #847390
    Eric
    Participant

    Hi Team,

    New here but hopefully, I am posting this in the right place.

    May I know if there is a way to fix this?

    Cart Error

    This happens when I update the Woocommerce cart to 0 item, or when I empty the cart. A direct access to the empty cart (by clicking on the cart icon) does not trigger this.

    I’m using Enfold Version 4.1.2 and Woocommerce 3.1.2.

    Appreciate any help I can get.

    Best regards,

    Eric.

    p/s. Been using Enfold for 2 years now, been awesome so far! Keep up the great work guys. :)

    #847196

    Hello Ismael,

    I modified the config-templatebuilder > avia-shortcodes > slideshow_fullscreen.php and the av-helper-slideshow.php and added code similar as for button2. But nothing changed in the backend.
    There is no new choise for an third button.

    Do I have to modify further files?

    I don’t no where I have to search. Is there a documantation of enfold availabe, that helps to get an overview about the code structure?

    I started this topic:

    Best Regards, Constanze

    #847170

    Topic: Panel Plugin Enfold

    in forum Enfold
    Ingogaube
    Participant

    Hallo ich suche ein Plugin das ein Icon rechts hat wo zwei Button sind mit Kontakt und Rufnummer. Diese zwei Icon sollen beim scrollen immer mitgehen? Kennt einer etwas? Habe diese Plugin gefunden: MojoPlug Slide Panel aber diese hilft nicht weiter. Vielleicht hat einer eine Idee. Darf ich auch eine Beispielseite nennen, wo ich dies gesehen habe? Danke

    • This topic was modified 8 years, 7 months ago by Ingogaube.
    #846939
    Constanze_Henkel
    Participant

    Hello Kriesi Support team,

    I know that this topic has been discussed quite often. But I don’t want to add a button by copying a button shortcode inside the slider caption. If possible I want to amend and/or edit the necessary files to have the opportunity to choose the number of buttons shown on the fullscreen slideshow in the backend in the caption menu of the fullscreen slider.

    I already amended the config-templatebuilder > avia-shortcodes > slideshow_fullscreen.php file and the config-templatebuilder > avia-shortcodes > av-helper-slideshow.php file, where I found program code for handling the functionality of button 1 and 2.

    What I did for slideshow_fullscreen.php:
    lines 253-264
    array(
    “name” => __(“Apply a link or buttons to the slide?”, ‘avia_framework’ ),
    “desc” => __(“You can choose to apply the link to the whole image or to add ‘Call to Action Buttons’ that get appended to the caption”, ‘avia_framework’ ),
    “id” => “link_apply”,
    “type” => “select”,
    “std” => “”,
    “subtype” => array(
    __(‘No Link for this slide’, ‘avia_framework’ ) =>”,
    __(‘Apply Link to Image’, ‘avia_framework’ ) =>’image’,
    __(‘Attach one button’, ‘avia_framework’ ) =>’button’,
    __(‘Attach two buttons’, ‘avia_framework’ ) =>’button button-two’,
    __(‘Attach three buttons’, ‘avia_framework’ ) =>’button button-three’)),

    I added the last line, for a third button. In my opinion this array contains the options that you can choose. “Choose to apply the link to the whole image or to add ‘Call to Action Buttons’ that get appended to the caption. ”

    Then I added this code snippet, it is the same as for button two, just amended for button three
    lines after code for button 2 lines 425 and following

    array( “name” => __(“Button 3 Label”, ‘avia_framework’ ),
    “desc” => __(“This is the text that appears on your third button.”, ‘avia_framework’ ),
    “id” => “button_label3”,
    “type” => “input”,
    “container_class” => ‘av_half av_half_first’,
    “required”=> array(‘link_apply’,’contains’,’button-three’),
    “std” => “Click me”),

    array(
    “name” => __(“Button 3 Color”, ‘avia_framework’ ),
    “desc” => __(“Choose a color for your third button here”, ‘avia_framework’ ),
    “id” => “button_color3”,
    “type” => “select”,
    “std” => “light”,
    “container_class” => ‘av_half’,
    “required”=> array(‘link_apply’,’contains’,’button-three’),
    “subtype” => array(
    __(‘Translucent Buttons’, ‘avia_framework’ ) => array(
    __(‘Light Transparent’, ‘avia_framework’ )=>’light’,
    __(‘Dark Transparent’, ‘avia_framework’ )=>’dark’,
    ),

    __(‘Colored Buttons’, ‘avia_framework’ ) => array(
    __(‘Theme Color’, ‘avia_framework’ )=>’theme-color’,
    __(‘Theme Color Subtle’, ‘avia_framework’ )=>’theme-color-subtle’,
    __(‘Blue’, ‘avia_framework’ )=>’blue’,
    __(‘Red’, ‘avia_framework’ )=>’red’,
    __(‘Green’, ‘avia_framework’ )=>’green’,
    __(‘Orange’, ‘avia_framework’ )=>’orange’,
    __(‘Aqua’, ‘avia_framework’ )=>’aqua’,
    __(‘Teal’, ‘avia_framework’ )=>’teal’,
    __(‘Purple’, ‘avia_framework’ )=>’purple’,
    __(‘Pink’, ‘avia_framework’ )=>’pink’,
    __(‘Silver’, ‘avia_framework’ )=>’silver’,
    __(‘Grey’, ‘avia_framework’ )=>’grey’,
    __(‘Black’, ‘avia_framework’ )=>’black’,
    )

    )),

    array(
    “name” => __(“Button 3 Link?”, ‘avia_framework’ ),
    “desc” => __(“Where should the Button link to?”, ‘avia_framework’ ),
    “id” => “link3”,
    “container_class” => ‘av_half av_half_first’,
    “required”=> array(‘link_apply’,’contains’,’button-three’),
    “type” => “linkpicker”,
    “fetchTMPL” => true,
    “subtype” => array(
    __(‘Set Manually’, ‘avia_framework’ ) =>’manually’,
    __(‘Single Entry’, ‘avia_framework’ ) => ‘single’,
    __(‘Taxonomy Overview Page’, ‘avia_framework’ ) => ‘taxonomy’,
    ),
    “std” => “”),

    array(
    “name” => __(“Button 3 Link Target?”, ‘avia_framework’ ),
    “desc” => __(“Select here if you want to open the linked page in a new window”, ‘avia_framework’ ),
    “id” => “link_target3”,
    “type” => “select”,
    “std” => “”,
    “container_class” => ‘av_half’,
    “required”=> array(‘link_apply’,’contains’,’button-three’),
    “subtype” => AviaHtmlHelper::linking_options()),

    It was only copy and paste of the code of button two and amending for an additional button (button three)

    What I did for av-helpoer-slideshow.php:

    In the function advanced_slide() I added code for button 3 similar to button 2. The function is not completely show, the rest of the code is not nescessary. In the lines where I changes something I add !!! CHANGES !!!, only in this blog for displaying purposes.

    //function that renders the slides. use when we did use sub-shorcodes to define the images
    protected function advanced_slide()
    {
    $html = “”;
    $counter = 0;
    $this->ie8_fallback = “”;

    foreach($this->id_array as $key => $id)
    {
    $meta = array_merge( array( ‘content’ => $this->subslides[$key][‘content’],
    ‘title’ =>”,
    ‘link_apply’ =>”,
    //direct link from image
    ‘link’ =>”,
    ‘link_target’ =>”,
    //button link 1
    ‘button_label’ =>”,
    ‘button_color’ =>’light’,
    ‘link1’ =>”,
    ‘link_target1’ =>”,
    //button link 2
    ‘button_label2’ =>”,
    ‘button_color2′ =>’light’,
    ‘link2’ =>”,
    ‘link_target2’ =>”,
    //button link 3 !!! CHANGES !!!
    ‘button_label3’ =>”,
    ‘button_color3′ =>’light’,
    ‘link3’ =>”,
    ‘link_target3’ =>”,

    ‘position’ =>’center center’,
    ‘caption_pos’ =>’capt-bottom capt-left’,
    ‘video_cover’ =>”,
    ‘video_controls’=>”,
    ‘video_mute’ =>”,
    ‘video_loop’ =>”,
    ‘video_format’ =>”,
    ‘video_autoplay’=>”,
    ‘video_ratio’ =>’16:9′,
    ‘video_mobile_disabled’=>”,
    ‘video_mobile’ =>’mobile-fallback-image’,
    ‘mobile_image’ => ”,
    ‘slide_type’ =>”,
    ‘custom_markup’ => ”,
    ‘custom_title_size’ => ”,
    ‘custom_content_size’ => ”,
    ‘font_color’ =>”,
    ‘custom_title’ => ”,
    ‘custom_content’ => ”,
    ‘overlay_enable’ => ”,
    ‘overlay_opacity’ => ”,
    ‘overlay_color’ => ”,
    ‘overlay_pattern’ => ”,
    ‘overlay_custom_pattern’ => ”,

    ), $this->subslides[$key][‘attr’]);

    extract($meta);

    if(isset($this->slides[$id]) || $slide_type == ‘video’)
    {
    $img = array(”);
    $slide = “”;
    $attachment_id = isset($this->slides[$id]) ? $id : false;
    $link = AviaHelper::get_url($link, $attachment_id);
    $extra_class = “”;
    $linkdescription= “”;
    $linkalt = “”;
    $this->service = false;
    $slider_data = “”;
    $stretch_height = false;
    $final_ratio = “”;
    $viewport = 16/9;

    $markup_url = avia_markup_helper(array(‘context’ => ‘image_url’,’echo’=>false, ‘id’=>$attachment_id, ‘custom_markup’=>$custom_markup));

    if($slide_type == ‘video’)
    {
    $this->service = avia_slideshow_video_helper::which_video_service($video);
    $video = avia_slideshow_video_helper::set_video_slide($video, $this->service, $meta);
    $video_class = !empty( $video_controls ) ? ” av-hide-video-controls” : “”;
    $video_class .= !empty( $video_mute ) ? ” av-mute-video” : “”;
    $video_class .= !empty( $video_loop ) ? ” av-loop-video” : “”;
    $video_class .= !empty( $video_mobile ) ? ” av-“.$video_mobile : “”;

    $extra_class .= ” av-video-slide “.$video_cover.” av-video-service-“.$this->service.” “.$video_class;
    $slider_data .= ” data-controls='{$video_controls}’ data-mute='{$video_mute}’ data-loop='{$video_loop}’ data-disable-autoplay='{$video_autoplay}’ “;

    if($mobile_image){
    $fallback_img = wp_get_attachment_image_src($mobile_image, $this->config[‘size’]);
    $slider_data .= ” data-mobile-img='”.$fallback_img[0].”‘”;
    }

    //if we dont use a fullscreen slider pass the video ratio to the slider
    if($this->config[‘bg_slider’] != “true”)
    {
    global $avia_config;
    //if we use the small slideshow only allow the “full” $video_format
    if($this->config[‘handle’] == ‘av_slideshow’) $video_format = “full”;

    //calculate the viewport ratio
    if(!empty($avia_config[‘imgSize’][$this->config[‘size’]]))
    {
    $viewport = $avia_config[‘imgSize’][$this->config[‘size’]][‘width’] / $avia_config[‘imgSize’][$this->config[‘size’]][‘height’];
    }

    //calculate the ratio when passed as a string (eg: 16:9, 4:3). fallback is 16:9
    $video_ratio = explode(‘:’,trim($video_ratio));
    if(empty($video_ratio[0])) $video_ratio[0] = 16;
    if(empty($video_ratio[1])) $video_ratio[1] = 9;
    $final_ratio = ((int) $video_ratio[0] / (int) $video_ratio[1]);

    switch($video_format)
    {
    case “”:
    $final_ratio = $viewport;
    break;
    case “stretch”:
    $final_ratio = $viewport;
    $stretch_height = ceil( $viewport / ($video_ratio[0]/$video_ratio[1]) * 100 );
    $stretch_pos = (($stretch_height – 100) / 2) * -1;
    $slider_data .= ” data-video-height='{$stretch_height}'”;
    $slider_data .= ” data-video-toppos='{$stretch_pos}'”;
    $extra_class .= ” av-video-stretch”;
    break;
    case “full”:
    // do nothing and apply the entered ratio
    break;
    }

    $slider_data .= ” data-video-ratio='{$final_ratio}'”;
    }

    }
    else //img slide
    {
    $slide = $this->slides[$id];
    $linktitle = trim($slide->post_title) ? esc_attr($slide->post_title) : “”;
    if($linktitle == “-“) $linktitle = “”;
    $linkdescription = (trim($slide->post_content) && empty($link)) ? “title='”.esc_attr($slide->post_content).”‘” : “”;
    $linkalt = get_post_meta($slide->ID, ‘_wp_attachment_image_alt’, true);
    $linkalt = !empty($linkalt) ? esc_attr($linkalt) : ”;
    $img = wp_get_attachment_image_src($slide->ID, $this->config[‘size’]);
    $video = “”;
    }

    if($this->slide_count === 1) $extra_class .= ” av-single-slide”;

    $blank = (strpos($link_target, ‘_blank’) !== false || $link_target == ‘yes’) ? ‘ target=”_blank” ‘ : “”;
    $blank .= strpos($link_target, ‘nofollow’) !== false ? ‘ rel=”nofollow” ‘ : “”;
    $tags = (!empty($link) && $link_apply == ‘image’) ? array(“a href='{$link}'{$blank}”,’a’) : array(‘div’,’div’);
    $caption = “”;
    $button_html = “”;
    $counter ++;
    $button_count = “”;
    if(strpos($link_apply, ‘button-two’) !== false){$button_count = “avia-multi-slideshow-button”;}
    if(strpos($link_apply, ‘button-three’) !== false){$button_count = “avia-multi-slideshow-button”;} !!!CHANGES !!!

    //if we got a CTA button apply the link to the button istead of the slide
    if(strpos($link_apply, ‘button’) !== false)
    {
    $button_html .= $this->slideshow_cta_button($link1, $link_target1, $button_color, $button_label, $button_count);
    $tags = array(‘div’,’div’);
    }

    if(strpos($link_apply, ‘button-two’) !== false)
    {
    $button_count .= ” avia-slideshow-button-2″;
    $button_html .= $this->slideshow_cta_button($link2, $link_target2, $button_color2, $button_label2, $button_count);
    }

    if(strpos($link_apply, ‘button-three’) !== false) !!!CHANGES !!!!
    {
    $button_count .= ” avia-slideshow-button-3″;
    $button_html .= $this->slideshow_cta_button($link3, $link_target3, $button_color3, $button_label3, $button_count);

    But all of these amendment have no effect in the backend. There is no new choise for a third button provided.
    I don’t know so well all files and the code of the enfold theme. Do you know other files which have to be amended to get the possibility of adding an additional button.
    I don’t need a customization of you, just the help to find the places where I have to amend. The rest I can, hopefully, figure out by myself.

    Thank for your support.

    By the way, I could not find a previous post about this topic, if there is any and I missed it, sorry for asking again.

    Best, Constanze

    #846574
    Marc Armstrong
    Participant

    Hello Kriesi-Team,

    this is the first time I am creating a new Topic in Enfold. Love your theme, really great work.
    I already searched that topic but unfortunately I haven´t found anything about it…

    I´ve a question about the social media buttons. A Lawyer from one of my customers advices me, that the social media buttons need to be implemented according to the 2-click-procedure in the EU / Germany. Is there any way to integrate something like the 2-click-procedure or maybe are the share buttons already “safe” enough to use them without a 2-click procedure?

    Thanks in advanced, best
    Marc

    #846508
    bitojoe
    Participant

    When you set the menu to have logo center and menu below, the header is sticky and shrinking, the menu is the new 2017 hamburger, and the overlay menu is activated, I’m running into the following problem:

    When opening the menu, the button to close the menu is nowhere to be found.

Viewing 30 results - 5,491 through 5,520 (of 11,213 total)