Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter javpb

    (@javpb)

    I’ve found that, when I write the media queries on the mailpoet-public.css file using !important on the rules, these media queries seem to work. But I think that maybe this is not the most elegant solution and also I have doubts about if an update could break the changes on that css file

    • This reply was modified 1 year, 7 months ago by javpb.
    Thread Starter javpb

    (@javpb)

    I’ve found that, when I write the media queries on the mailpoet-public.css file using !important on the rules, these media queries seem to work. But I think that maybe this is not the most elegant solution and also I have doubts about if an update could break the changes on that css file

    • This reply was modified 1 year, 7 months ago by javpb.
    Thread Starter javpb

    (@javpb)

    Hi. Sorry for late reply, I have some issue to provide a sooner reply.

    To see the issue, here’s part of the code I’m writing where issues with media queries happen:

    .mailpoet_text,
    .mailpoet_textarea {
    width: 80%;
    margin-left: auto!important;
    margin-right: auto!important;
    font-family: “JetBrains Mono”,”Roboto Mono”,sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    text-transform: uppercase;
    }

    @media screen and (min-width: 768px) and (max-width: 1023px) {
    .mailpoet_text,
    .mailpoet_textarea {
    width: 70%;
    }
    }

    When using this code, it only uses 70% width, like media query doesn’t exist. And after checking Chrome developer tools I see Mailpoet inserting the code like this:

    Inside a <style type=”text/css”> tag

     #mailpoet_form_1 .mailpoet_form { margin-bottom: 4em; }

    mailpoet_form_1 .mailpoet_column_with_background { padding: 10px; } mailpoet_form_1 .mailpoet_form_column:not(:first-child) { margin-left: 20px; } mailpoet_form_1 .mailpoet_paragraph { line-height: 20px; margin-bottom: 20px; } mailpoet_form_1 .mailpoet_segment_label, #mailpoet_form_1 .mailpoet_text_label, #mailpoet_form_1 .mailpoet_textarea_label, #mailpoet_form_1 .mailpoet_select_label, #mailpoet_form_1 .mailpoet_radio_label, #mailpoet_form_1 .mailpoet_checkbox_label, #mailpoet_form_1 .mailpoet_list_label, #mailpoet_form_1 .mailpoet_date_label { display: block; font-family: “JetBrains Mono”,”Roboto Mono”,sans-serif; font-size: 14px; line-height: 18px; font-weight: 500; text-transform: uppercase; } mailpoet_form_1 .mailpoet_text, #mailpoet_form_1 .mailpoet_textarea, #mailpoet_form_1 .mailpoet_select, #mailpoet_form_1 .mailpoet_date_month, #mailpoet_form_1 .mailpoet_date_day, #mailpoet_form_1 .mailpoet_date_year, #mailpoet_form_1 .mailpoet_date { display: block; } mailpoet_form_1 .mailpoet_text, #mailpoet_form_1 .mailpoet_textarea { width: 80%; margin-left: auto !important; margin-right: auto !important; font-family: “JetBrains Mono”,”Roboto Mono”,sans-serif; font-size: 14px; line-height: 18px; font-weight: 500; text-transform: uppercase; } mailpoet_form_1 .mailpoet_checkbox_label { width: 80% !important; margin-left: auto !important; margin-right: auto !important; } mailpoet_form_1 .mailpoet_submit { padding: 15px 30px 15px 30px !important; font-family: “Unica One”,sans-serif; font-size: 16px; font-weight: bold; color: black; -webkit-writing-mode: horizontal-tb !important; -ms-writing-mode: lr-tb !important; writing-mode: horizontal-tb !important; letter-spacing: normal; word-spacing: normal; text-indent: 0px; text-shadow: none; display: inline-block; text-align: center; align-items: flex-start; box-sizing: border-box; border: 2px solid black; border-color: black !important; -o-border-image: initial; border-image: initial; background-color: transparent; text-decoration: underline; margin-left: 10% !important; } mailpoet_form_1 .mailpoet_submit:hover { background-color: #b2b2b2; color: white; border-color: white !important; } mailpoet_form_1 .mailpoet_divider { } mailpoet_form_1 .hr-newsletter-separador { margin-bottom: -2px; } mailpoet_form_1 .mailpoet_message { } mailpoet_form_1 .mailpoet_form_loading { width: 30px; text-align: center; line-height: normal; } mailpoet_form_1 .mailpoet_form_loading > span { width: 5px; height: 5px; background-color: #5b5b5b; } mailpoet_form_1 .mailpoet_text, #mailpoet_form_1 .mailpoet_textarea { width: 70%; }#mailpoet_form_1{border-radius: 0px;text-align: left;}#mailpoet_form_1 form.mailpoet_form {padding: 0px;}#mailpoet_form_1{width: 100%;}#mailpoet_form_1 .mailpoet_message {margin: 0; padding: 0 20px;}#mailpoet_form_1 .mailpoet_paragraph.last {margin-bottom: 0} @media (max-width: 500px) {#mailpoet_form_1 {background-image: none;}} @media (min-width: 500px) {#mailpoet_form_1 .last .mailpoet_paragraph:last-child {margin-bottom: 0}} @media (max-width: 500px) {#mailpoet_form_1 .mailpoet_form_column:last-child .mailpoet_paragraph:last-child {margin-bottom: 0}}


    Thread Starter javpb

    (@javpb)

    Hi,

    Right now, Klarna payments is been shown when you select Germany for instance, but not in many countries, although we have been approved for using Klarna in several countries, like UK, Italy… and these ones doesn’t show Klarna payment. Also, Klarna in Germany in test mode is shown as Pay in 14 days, rather than the financing options we have set with Klarna.

    As we have the website opened for the public, we currently have deactivated Klarna Payments until we find a solution for these things. Please could you help us with this? Thanks

    Thread Starter javpb

    (@javpb)

    Hi, Thanks for your support. I’ve tried changing my store default customer country, changed default purchase country in Point of sale -> My shop in Klarna’s portal, delete klarna test credentials from Spain, delete my code snippet for the default country (https://docs.woocommerce.com/document/change-the-default-state-and-country-on-the-checkout/), but I didn’t see any difference. Did I make anything wrong? Please help me with this, I don’t know why I still can’t see any Klarna payment method on the checkout. Thanks

    • This reply was modified 4 years, 3 months ago by javpb.
    • This reply was modified 4 years, 3 months ago by javpb.
    Thread Starter javpb

    (@javpb)

    Hi,

    Thanks you for your response.

    About the reasons:

    – Spain is my default supported country. I even overrided this by using https://docs.woocommerce.com/document/change-the-default-state-and-country-on-the-checkout/

    – I’m using pretty permalinks

    – Confirmed woo server is able to make remote API calls.

    – No currency switcher is in use.

    I will contact you via support, as I’m not finding a solution for this issue. Thanks

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