× You can talk here in German about HikaShop. Please understand that we do not speak German at HikaShop and we can't offer support in German.

Fixes Maß beim Mengenfeld auf der Produktseite

  • Posts: 8
  • Thank you received: 0
  • Hikashop Essential
1 year 3 months ago #347880

-- url of the page with the problem -- : bof-shop.at/shop
-- HikaShop version -- : HikaShop Essential: 4.7.0
-- Joomla version -- : Joomla! 3.10.11 Stable
-- PHP version -- : 8.0.24
-- Browser(s) name and version -- : Firefox

Hallo Leute
Ich habe das Problem, dass bei mir fix im HTML Code die Breite von dem PopUp Menü als Style eingetragen ist. Wenn ich im CSS das überschreiben will geht das nicht.

<div class="chzn-container chzn-container-single" [b]style="width: 49px;" t[/b]itle="" id="hikashop_product_quantity_field_1_select_chzn"><a class="chzn-single"><span>1</span><div><b></b> ....

bof-shop.at/fruchtaufstrich/product/3-kriacherlmarmelade

Ich habe leider nirgends gefunden, wo man dies bei Hikashop einstellt. Auch in den php Files bin ich nicht fündig geworden bzw kenn ich mich zu wenig mit php aus um es zu ändern.

Weiß wer von euch zufällig wo die Einstellung ist. Ich würde es nämlich auf 60px benötigen

Vielen Dank !!!
lg
Markus

Last edit: 1 year 3 months ago by Tartaruga.

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
1 year 3 months ago #347882

Hi,

ich seh wohl, dass du in deinem custom.css schon mal ".chzn-container {width:60px;}" eingetragen hast.
Jetzt fehlt nur noch das "!important", damit das Inline-CSS wirksam überschrieben wird.
Und am besten noch die Klasse eines Parent-Containers, damit nicht alle ähnlichen Dropdowns auf der ganzen Site betroffen sind.

Also:

.hikashop_product_quantity_div .chzn-container {
    width: 60px !important;
}


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Tartaruga

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum