WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Sidebar Cart Scrolling Background
- AuthorPosts
- 8 January, 2015 at 9:04 pm #6922
Hi Olly,
Do you have any idea how I stop this happening?
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,
8 January, 2015 at 9:05 pm #6924>How do I do this?
wppizza->layout
sticky/scolling” cart settings [if used] -> Distinct CSS Background Colour when…
8 January, 2015 at 10:52 pm #6925This reply has been marked as private.8 January, 2015 at 11:00 pm #6926the “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
8 January, 2015 at 11:16 pm #6928I 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.
8 January, 2015 at 11:23 pm #6929>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)
8 January, 2015 at 11:27 pm #6930just 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)
9 January, 2015 at 9:18 pm #6965Hi 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.
9 January, 2015 at 9:41 pm #6967> 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 scrolli 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
9 January, 2015 at 9:58 pm #6969In 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.
- AuthorPosts
- The topic ‘Sidebar Cart Scrolling Background’ is closed to new replies.