Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1342024

    hello Support..

    if you insert a TAB area in the product area and fill the individual tabs with content, e.g. in two columns, they are displayed correctly in the normal browser (Chrome, Firefox, Safari) even with a very narrow image…. but if you view this via the browser in the iPhone… you can see that this same area is cut off…
    You can’t scroll this area either…

    regards
    Alexander

    #1342114

    Hey Alexander,

    Thank you for the inquiry.

    Looks like you have added a variety of content in the tab sections element. The element actually works best when the tabs contain the same type of content, preferably with the same layout as shown in the following demo.

    // https://kriesi.at/themes/enfold-2017/elements/tab-section/#bbpress-forums

    To fix the issue temporarily, please try to use this css code.

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      body .container_wrap .av-layout-tab {
        max-width: 100vw !important;
      }
    }
    

    Best regards,
    Ismael

    #1342145

    Hello Ismael,
    this has worked so far…

    But another question: How can I change the layout of the completed and sent booking request via the contact form?
    I had thought about HTML styles, but I can’t find any settings for this anywhere.

    With contact Form7 you could edit the sent mail accordingly… how do you do it here?

    Regards Alexander

    #1342210

    Hi,

    Thank you for the inquiry.

    How can I change the layout of the completed and sent booking request via the contact form?

    By default, the layout of the email or the message is based on the order of the fields in the contact form. Unfortunately, you cannot modify the message template using an editor, but there is a filter called “avf_contact_form_incoming_mail” that you can use to do some adjustments to the email content (message, subject, autoresponder etc) before sending it.

    Examples of the filter can be found here.

    // https://kriesi.at/support/topic/autoresponder-contact-form/#post-1325506
    // https://kriesi.at/support/topic/html-code-in-contact-form/#post-1341747

    The values of the form fields are saved in the $new_post array, so you can use that to manually create a new email template before actually sending the message.

    Best regards,
    Ismael

    #1342242

    Hi Ismael,
    it works, but the result is not pretty…
    Do you have other HTML examples in which tables etc. are used to format the corresponding input fields sensibly?

    then i also noticed that the date format is not returned correctly after the selection… the german format should be dd.mm.yyyy, but it returns dd/mm/yyyy.

    then there is the setting in the theme that the mail address and phone number are displayed above the menu… but the font is much too small and hardly visible because the colour is weak… is it possible to influence the parameters for this somewhere?

    regards Alexander…

    #1342509

    Hi,

    Do you have other HTML examples in which tables etc. are used to format the corresponding input fields sensibly?

    As we have said above, the default layout is based on the order of the fields. Unfortunately, there are no predefined templates for the email message aside from the default one, so you will have to create your own from scratch. The date format can be changed in the Settings > General panel.

    Best regards,
    Ismael

    #1342519

    he settings are correct, see attached screenshot, if you select the date in the contact form, it is immediately written back in the format dd/mm/yyyy after selection…, that seems to have something to do with the Datepicker plugin….

    Where do you insert the code in the HTML email message?
    * Filter um den Mailversand aus dem Contact Formular zu verändern, Beispiel 2 */
    add_filter(“avf_contact_form_incoming_mail”, function($mail_array, $new_post, $params, $class, $from, $from_filtered) {
    $logo = ““;
    $mail_array[“Message”] = $logo . $mail_array[“Message”];
    return $mail_array;
    }, 10, 6);

    regards Alexander

    #1342566

    Hi,

    1- Please add following code to bottom of Functions.php file of your child theme

    
    add_filter('avf_datepicker_date_placeholder', 'new_date_placeholder');
    function new_date_placeholder() {
    $placeholder = "DD.MM.YY";
    return $placeholder;
    }
    
    add_filter('avf_datepicker_dateformat', 'new_date_format');
    function new_date_format() {
    $date_format = " dd.mm.yy";
    return $date_format;
    }

    2- You should add the code you shared above to functions.php file as well

    Best regards,
    Yigit

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