Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1037454

    Hallo zusammen,
    ich hoffe, ihr könnt mir hier weiterhelfen.
    Ich würde gerne die Buttons im Bereich der Kasse etwas “schicker” anordnen. Die aktuelle Positionierung könnt ihr dem beigefügten Bild entnehmen. Das “- or -” und den Paypal Button hätte ich gerne in einer Reihe mit dem “Weiter zur Kasse” Button.

    Noch eine Frage an dieser Stelle: Wo kann ich im Enfold Theme ein anderes Bild für den Paypal Button hinterlegen und das “- or -” übersetzen in das deutsche “oder”?

    An dieser Stelle schon mal vielen Dank für eure Rückmeldungen!

    Viele Grüße
    Christian

    #1037511

    Hey Max,
    Ich habe mir Ihren Einkaufswagen angesehen und die Schaltflächen in einer Reihe angeordnet. Versuchen Sie es mit diesem Code im Feld Allgemeines Styling> Schnelles CSS oder im Feld WordPress> Anpassen> Zusätzliches CSS :

    .wc-proceed-to-checkout a.checkout-button.wc-forward,.wc-proceed-to-checkout a#woo_pp_ec_button {
        display: inline-block !important; 
    }
    .wcppec-checkout-buttons__separator {
        width: 50px !important; 
        display: inline-block !important; 
        vertical-align: middle !important; 
    }
    .wc-proceed-to-checkout .woo_pp_cart_buttons_div {
    width: 220px !important; 
        vertical-align: middle !important; 
    }

    Um den Text von “- or -” zu ändern, fügen Sie diesen Code am Ende Ihrer Datei “functions.php” in Appearance> Editor ein:

    function custom_script(){
      ?>
      <script>
    jQuery(window).load(function(){   
      jQuery(".wcppec-checkout-buttons__separator").text("- @ -");     
    });
    </script>
      <?php
      }
    add_action('wp_footer', 'custom_script');

    Bitte passen Sie das “- @ -” im Code an.

    — Translated with Google —

    I took a look at your cart and to line the buttons up, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .wc-proceed-to-checkout a.checkout-button.wc-forward,.wc-proceed-to-checkout a#woo_pp_ec_button {
        display: inline-block !important; 
    }
    .wcppec-checkout-buttons__separator {
        width: 50px !important; 
        display: inline-block !important; 
        vertical-align: middle !important; 
    }
    .wc-proceed-to-checkout .woo_pp_cart_buttons_div {
    width: 220px !important; 
        vertical-align: middle !important; 
    }

    Then to change the text of “- or -” Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      ?>
      <script>
    jQuery(window).load(function(){   
      jQuery(".wcppec-checkout-buttons__separator").text("- @ -");     
    });
    </script>
      <?php
      }
    add_action('wp_footer', 'custom_script');

    please adjust the “- @ -” in the code.

    Best regards,
    Mike

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