Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter lillydufeu

    (@lillydufeu)

    Thank you, that fixed it!

    Thread Starter lillydufeu

    (@lillydufeu)

    Yes, always a new order. I also vary between the 4 different products. I already disabled the theme and it didnt change anything at all.

    What I think is weird that I use a different selection here:
    https://smkurse.de/produkt/theorie-im-studio/

    And that works absolutely fine.
    But now that I need to be able to add more than one option if necessary it wont work.

    Thread Starter lillydufeu

    (@lillydufeu)

    I already disabled them and tested, problem stays the same.

    Thread Starter lillydufeu

    (@lillydufeu)

    There are a few minor modifications:

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    /*//Workaround
    add_filter('wpml_language_filter_extra_conditions_snippet', 'wpmld_compsupp5973_mec_workaround');
    function wpmld_compsupp5973_mec_workaround($sql) {
    $sql = " AND post_status <> 'mec_tickets' ".$sql;
    return $sql;
    }


    @ini_set( ‘upload_max_size’ , ‘120M’ );
    @ini_set( ‘post_max_size’, ‘120M’);
    @ini_set( ‘max_execution_time’, ‘300’ );*/


    //---------------------------
    // Clickable Icon Box
    //---------------------------

    /*function linkIconBox(){
    ?>
    <script>
    jQuery(".iconbox").each(function(){
    jQuery(".iconbox").click(function() {
    var theLink = jQuery(this).find("a").attr("href");
    // Open links in same window
    // window.location = theLink;
    // Open links in new window
    window.open(theLink);
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'linkIconBox');*/

    //---------------------------
    // Teammember Pop Up
    //---------------------------

    function clone_team_member_to_lightbox_popup() { ?>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
    (function($) {
    $('.avia-team-member').on('click touchstart', function(e) {
    e.preventDefault();

    var $this = $(this);
    // Create a clean clone without event listeners
    var copyTeam = $this.clone().wrap('<div>').parent().html();

    $.magnificPopup.open({
    items: {
    src: $('<div class="white-popup">'+copyTeam+'</div>'),
    type: 'inline'
    },
    callbacks: {
    open: function() {
    // Adjust content after opening
    $('.white-popup').css({
    'max-height': $(window).height() * 0.8,
    'overflow-y': 'auto'
    });
    }
    },
    closeOnBgClick: true,
    enableEscapeKey: true,
    mainClass: 'mfp-fade',
    removalDelay: 300
    });
    });
    })(jQuery);
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'clone_team_member_to_lightbox_popup');

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    return "debug";
    }

    //---------------------------
    // Teammember Pop Up Hover
    //---------------------------

    // Team-Member mit Popup markieren
    function add_team_member_hover() {
    ?>
    <script>
    document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.avia-team-member').forEach(function(member) {
    if (member.querySelector('.team-member-description')) {
    member.classList.add('has-popup');
    }
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_team_member_hover');

    // Styling mit Enfold-Icon
    add_action('wp_head', function() {
    echo '<style>
    /* Basis-Styling */
    .avia-team-member.has-popup {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    }

    /* Hover-Effekt mit Enfold-Icon */
    .avia-team-member.has-popup::after {
    content: ""; /* Text entfernen */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(100, 100, 100, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    }

    .avia-team-member.has-popup:hover::after {
    opacity: 1;
    }

    /* Enfold-Icon als Pseudo-Element */
    .avia-team-member.has-popup::before {
    content: "\\e87a"; /* Enfold-Icon Code */
    font-family: "entypo-fontello"; /* Enfold-Icon Font */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
    }

    .avia-team-member.has-popup:hover::before {
    opacity: 1;
    }
    </style>';
    });

    //---------------------------
    // Fixed Height for Testimonial slider
    //---------------------------
    function custom_testimonial_height_script(){
    ?>
    <script>
    (function($){
    $(window).load(function(){
    $('.avia-testimonial-row').each(function(){
    var $columns = $('.avia-testimonial_inner',this);
    var maxHeight = Math.max.apply(Math, $columns.map(function(){
    return $(this).height();
    }).get());
    $columns.height(maxHeight);
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_testimonial_height_script');

    Thread Starter lillydufeu

    (@lillydufeu)

    Hello,
    I did to that with only woocommerce and the advanced Product fiel plugin active and there is no difference:

    Thread Starter lillydufeu

    (@lillydufeu)

    It is a simple Product – virtual

    Thread Starter lillydufeu

    (@lillydufeu)

    Advanced Product Fields
    Duplicator Pro
    Germanized for Woocommerce
    Germanized für WooCommerce Pro
    Germanized für WooCommerce: One Stop Shop
    Health Check & Troubleshooting
    JM Twitter Cards
    MailPoet
    Matomo Analytics – Ethische Statistiken. Nachhaltige Erkenntnisse.
    Modern Events Calendar
    Modern Footnotes
    Ninja Forms
    Ninja Forms Multilingual
    OSM
    PW WooCommerce Gift Cards Pro
    Toolset Types
    vendidero Helper
    Woocommerce
    WooCommerce Integration for MEC
    WooCommerce Multilingual & Multicurrency
    WooCommerce Reminder Pro
    WP Super Cache
    WPML Media Translation
    WPML Multilingual CMS
    WPML String Translation

    Sure, please see above – I was on a quick getaway, so sorry for the delay.

    Thread Starter lillydufeu

    (@lillydufeu)

    Look:

    Thread Starter lillydufeu

    (@lillydufeu)

    No, also not.

    Thread Starter lillydufeu

    (@lillydufeu)

    Sure, please see here. A 50,-€ option has been added to the 160,-€ product, but i cant see which.

    Thread Starter lillydufeu

    (@lillydufeu)

    I just send some, so all worked out so far!

    Thread Starter lillydufeu

    (@lillydufeu)

    Thank you! It worked perfectly!

    Sadly I dont have paypal – but if you send me a account I will send you a donation via banktransfer. You can find me on twitter @kalichtul, my ons are open

    • This reply was modified 5 years, 5 months ago by lillydufeu.
    Thread Starter lillydufeu

    (@lillydufeu)

    Hi and thank you!
    Avia is the layout builder my theme (enfold) uses.
    Apparently 😉

    The border worked, great!

    How can I adress the font size?

    I love your plugin btw, it is super easy to use. Is there any way I can buy you a coffee?

    Thread Starter lillydufeu

    (@lillydufeu)

    Mainly I wanna change the border width, the font size and I want a rounded border. Thank yoU!

Viewing 14 replies - 1 through 14 (of 14 total)