Joomlas Protostarテンプレートのフォームフィールド幅のサイズをどのように設定できますか?
<field name="titel"
type="text"
label="COM_COMPONENT_TITEL_LABEL"
description="COM_COMPONENT_TITEL_DESC"
class="inputbox"
size="45"
required="false" />
私はさまざまな可能性を試しましたが、どれも機能していません。 class = "inputbox span3"、size = "10"、 "input.span3"、 "inputbox.span3"、size = "span3"
thx、Perino
サイズを制御するために、次のクラスを入力フィールドに追加できます。
class="inputbox input-mini"
class="inputbox input-small"
class="inputbox input-medium"
class="inputbox input-large"
class="inputbox input-xlarge"
class="inputbox input-xxlarge"
size="45"
パラメータはCSSクラス.inputbox
によってオーバーライドされ、幅を206px
に強制するようです。上記のクラスを追加すると、これが解決します。