Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author ollybach

    (@ollybach)

    set the background color (as you are using a scrolling cart)

    Plugin Author ollybach

    (@ollybach)

    either via css or wppizza->layout “sticky/scolling” cart settings [if used]

    Thread Starter kwiecu

    (@kwiecu)

    It works partly. See the link: https://pastaristo.pl/our-menu/pasta/

    I would like to have colour all the time.

    Plugin Author ollybach

    (@ollybach)

    then set wppizza-cart-wrap to the calor you want and the animation color to inherit

    Plugin Author ollybach

    (@ollybach)

    ps: up to you of course, but personally I would not make the cart sticky to start off with if you want this to work on a responsive layout / theme as the whole thing will become virtually unusable on small screen devices

    Thread Starter kwiecu

    (@kwiecu)

    I don’t get this part:

    then set wppizza-cart-wrap to the calor you want

    Where I can set it?? Sorry…

    Plugin Author ollybach

    (@ollybach)

    PPS: unless you write some javascript that makes the cart “un-sticky” under a certain screensize (i.e remove class .wppizza-cart-fixed )

    Plugin Author ollybach

    (@ollybach)

    >Where I can set it?? Sorry…
    just normal css

    Plugin Author ollybach

    (@ollybach)

    like you did with the z-index

    .wppizza-cart-wrap{background:red /*or whatever color you want*/}

    Thread Starter kwiecu

    (@kwiecu)

    Works, thanks mate ??

    Plugin Author ollybach

    (@ollybach)

    ok.

    thinking out loud regarding sticky cart and responsive.
    maybe – additionally to restricting it as to how far down it can scroll by setting an element id – one might be able to also set how far up in can/should scroll which would/should – at a first guess – also take care of responsive themes where the container moves somewhere else entirely when the screensize is small…i’ll have a think/fiddle

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Transparency of the cart’ is closed to new replies.