Where can I

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #7536
    mps1
    Participant

      Change the Shopping Cart button color?
      Tried through css, but no luck.
      Any pointers are greatly appreciated.

      It’s currently blue, I want to change it to red.
      button

      Thanks

      #7538
      Olly
      Admin & Mod

        that’s your theme making the button blue…

        #7539
        Olly
        Admin & Mod

          actually it might also be another plugin. cant tell from a picture without a link

          what i do know though is that it’s not me (i.e not the wppizza plugin)

          #7540
          Olly
          Admin & Mod

            in any case, what have you tried that doesnt work ?

            #7543
            mps1
            Participant

              I tried adding this into the custom css in my theme

              #.wppizza-cart-button {
              background-color: #c71c0c;
              {

              no luck. I’ve tried it with other buttons that were white, and they changed into my desired color, but for some reason I cannot get it to work with this one. Unless my code is completely wrong (which I wouldn’t doubt)

              #7546
              Olly
              Admin & Mod

                that’s wrong on many counts.
                try

                .wppizza-cart-button > a > input {background-color: #c71c0c;}
                or
                .wppizza-cart-button > a > input {background-color: #c71c0c !important;}
                (depends on the rest of the css)

                #7549
                mps1
                Participant

                  that worked. thanks. The Empty Cart is still blue, how can I change that one?
                  trying to wrap my head around css

                  #7550
                  Olly
                  Admin & Mod

                    >The Empty Cart is still blue

                    its grey in the pic above ?!
                    anyway
                    .wppizza-empty-cart-button{background-color: #c71c0c !important;}

                    >trying to wrap my head around css

                    might i suggest the following resource ?
                    https://www.google.co.uk/?gws_rd=ssl#q=css

                    #7551
                    mps1
                    Participant

                      was fiddling around, was close. except I was still using > a >

                      had to add !important this time. In the Place your oder worked without the important argument.

                      I started a css lesson earlier today.

                      all is good now

                      thanks

                      #7552
                      mps1
                      Participant

                        Can’t figure out the Add to Cart button when adding multiple ingredients.

                        I tried this, but no luck so far
                        .wppizza-diy-to-cart {
                        background-color: #c71c0c;
                        }

                        I’m using the Inspect Element in Chrome to get the info.
                        add to cart

                        #7553
                        Olly
                        Admin & Mod

                          you REALLY need to get a book or read documentations about css selectors
                          this is basic stuff

                          you are using a class selector to target an id !!

                          #7554
                          mps1
                          Participant

                            got it to work.

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • The topic ‘Where can I’ is closed to new replies.