Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ulihake

    (@ulih)

    Hallo.

    Hab mir das kurz angeschaut. Das bazar Theme lädt für Woocommerce eine Datei style.css. Dort gibt es für einige Felder folgende Layoutbestimmung:

    #shipping_postcode_field, #billing_postcode_field, #billing_country_field, #shipping_country_field {
        width: 47%;
        float: left;
    }

    Dies überschreibt das gewünschte Verhalten. Sie müssen diese css-Anweisung entweder anpassen oder selbst wieder überschreiben. Dieser css code sollte das Problem beheben, wobei Ihnen mehrere Möglichkeiten zur Verfügung stehen, diesen zu laden.

    #shipping_postcode_field, #billing_postcode_field, #billing_country_field, #shipping_country_field {
        width: 100% !important;
        float: none !important;
    }

    1. Entweder die Datei styles.css im Editor unter Apperance editieren
    2. Oder die Datei syles.css im Ordner woocommerce ihres Themas editieren (in dieser wird der Code geladen, der das Problem verursacht)
    3. Sehen, ob für ihr Theme oder durch ein Plugin, die Möglichkeit besteht, css-Code “nachzuschiessen”

    Grüsse.
    uh

    Plugin Author ulihake

    (@ulih)

    WooCommerce Poor Guys Swiss Knife does not force with own css the first / last / wide behavior.

    If a theme style sheet overrides the default WooCommerce layout behavior WooCommerce Poor Guys Swiss Knife respects this.

    Nevertheless, it may be good idea to implement the option to force a theme style overwrite as well.

    Probably this will make it into one of the next updates.

    Regards.
    uh

    Plugin Author ulihake

    (@ulih)

    Und noch ein P.S.:
    Sie können meinen CSS-Code angleichen. Vielleicht reicht Ihnen schon dies aus:

    #billing_country_field, #shipping_country_field {
        width: 100% !important;
        float: none !important;
    }
    Thread Starter esucces

    (@esucces)

    Uli, this is great support!

    I added the last P.S. worked perfectly.

    Thanks and keep up the good work!
    Jan, Denmark
    (but understanding German perfect :-))

    Plugin Author ulihake

    (@ulih)

    Hello.

    Thanks for your reply. Glad that I could help you.

    Greetings to Denmark, one of the countries I’ve never visited… The day will come.

    uli

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Country field – not wide’ is closed to new replies.