Sidebar Cart Scrolling Background

WPPizza – A Restaurant Plugin for WordPress Support General Support Sidebar Cart Scrolling Background

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6922
    Robert
    Participant

      Hi Olly,

      Do you have any idea how I stop this happening?
      Example

      If it’s related to this comment from yourself elsewhere

      “if you use the scrolling cart option, you probably want to set the background-color of the cart via css”

      How do I do this?

      Regards,

      #6924
      Olly
      Admin & Mod

        >How do I do this?

        wppizza->layout

        sticky/scolling” cart settings [if used] -> Distinct CSS Background Colour when…

        #6925
        Robert
        Participant
          This reply has been marked as private.
          #6926
          Olly
          Admin & Mod

            the “rest of the widget” as you call it is not a wppizza thing (obviously i would have thought)

            really down to you how you style things. all i can say is that I have no control over other parts of your layout/theme so it’s somewhat up to you to make this work using appropriate css / js and whatnot

            as an idea in your case, i would probably add some css (some gray border and more margin etc) to the class “wppizza-cart-fixed” as that’s the one that gets applied/added once “stickiness” of the cart takes place

            add some stuff to “.wppizza-cart-fixed” class and you’ll see what i mean i think

            #6928
            Robert
            Participant

              I understand it isn’t part of wppizza I was just asking for a bit of advice.

              I’ll have a play about with .wppizza-cart-fixed and see what I can come up with.

              Thank you.

              #6929
              Olly
              Admin & Mod

                >I was just asking for a bit of advice.

                no problem, that’s what this forum is for after all

                >Thank you.

                you’re welcome. if i can give any advice i will do (even if – sometimes – it is to the effect of “nothing i am able to do” unfortunately)

                #6930
                Olly
                Admin & Mod

                  just thinking out loud for a sec, i would probably apply the same style that the containing div uses to the .wppizza-cart-fixed class for starters and see what happens then (would probably have to mess around a bit more, but might give you some ideas/basis)

                  #6965
                  Robert
                  Participant

                    Hi Olly,

                    I couldn’t find how to edit .wppizza-cart-fixed

                    I’m guessing I have to add something to wppizza-custom.css (In my theme folder) but I have no idea what to add.

                    Any suggestion or pointers would be really appreciated.

                    Also on a side note is there a way to remove the space between the £ and the Price?
                    Currently it’s £ 3.30, would like it to be £3.30. I can put this in a separate thread if required.

                    Cheers.

                    #6967
                    Olly
                    Admin & Mod

                      > is there a way to remove the space between the £ and the Price
                      as it happens , this is actually hardcoded (i.e if currency value set left, its £ 1.99 if right it’s 1.99 £)
                      you could change this by adding/using/writing a bunch of filters (about 7 or so probably) but that sounds like overkill for such a relatively minor thing.

                      in my book , the best idea would be for me to put this on my list of things to do (though cant give you an ETA) and make this filterable consistently by just using one filter where you decide to use a space or not.
                      for the moment therefore i would suggest you live with it as is (or prepare yourself for half a day of writing filters)

                      > I can put this in a separate thread if required
                      don’t worry, it’s fine

                      >I couldn’t find how to edit .wppizza-cart-fixed
                      you don’t “edit” this class, you just add declarations in your wppizza-custom.css
                      fyi: that class gets added by js to the relevant cart element as soon as it needs to /starts to scroll

                      i would suggest add .wppizza-cart-fixed{border:1px solid red} for example to your custom css (while messing around with things) and you’ll see when it starts to get applied

                      #6969
                      Robert
                      Participant

                        In regards to the £ I think I’ll just live with it until it’s implemented. Cheers for the explanation.

                        I’ll play with .wppizza-cart-fixed{border:1px solid red} and see what I get.

                        Thanks again.

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • The topic ‘Sidebar Cart Scrolling Background’ is closed to new replies.