Skip to main content

Cart Pop-Up

More
10 years 11 months ago #220661 by Dragon41673
Cart Pop-Up was created by Dragon41673
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- Browser(s) name and version -- : Chrome

I'm working on a site redesign and the cart pop-up when you add something to your cart...has a section that is off screen. I found where to modify the pop-up size...but no matter how I change it...it still has an option to scroll down. Please see attached image...you will see the scroll bar on the right.

How can I fix this? I'm getting close to making this my live site.

Thank you!

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

More
10 years 11 months ago #220693 by Xavier
Replied by Xavier on topic Cart Pop-Up
Hi,

You can add some css rules, but you have to add the properties in your template css file directly, and at the end of the file.
www.hikashop.com/support/documentation/s...ize-the-display.html

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

More
10 years 11 months ago #220703 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
I'm not that experienced at this yet. I hate to ask...but can you help me with what to write?

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

More
10 years 11 months ago #220705 by Xavier
Replied by Xavier on topic Cart Pop-Up
Hi,

First I think that you should change the settings of the option 'Add to cart popup size' in Configuration > Main > Cart to use the height of "220".
Then in your file "/media/gantry5/engines/nucleus/css-compiled/nucleus.css" there is the property:
Code:
#g-page-surround { min-height: 100vh; position: relative; overflow: hidden; }
So the "min-height: 100vh;" is the css which is forcing the height of the content, so a scroll bar is displayed.

You can remove this property or add the following one at the end of this css file:
Code:
#g-page-surround { min-height: auto; }

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

More
10 years 11 months ago #220762 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Ok great, thank you Xavier! I'll try adding that in later tonight to their "custom.css" file as I've already learned if I change something in the nucleus.css...if I update Gantry, it wipes out all changes!

I'll let you know if I'm successful. Thank you again and everyone else here at Hikashop. You guys are great!

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

More
10 years 11 months ago #220766 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Ok...did exactly what you said, and the scroll bar is now gone, but the bottom of the box itself is still going past the viewable section as shown in the image attached. Any thoughts?

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

More
10 years 11 months ago - 10 years 11 months ago #221227 by Philip
Replied by Philip on topic Cart Pop-Up
Hello,

In order to fix this little css issue, the most simple is to send us administrator access via our contact us form, here
I will add some Css rules in order to solve it.

Regards,
Last edit: 10 years 11 months ago by Philip.

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

More
10 years 11 months ago #221402 by henrykk
Replied by henrykk on topic Cart Pop-Up
can you please publish the final fixes as I am having the same issue.

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

More
10 years 11 months ago #221416 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Sorry for the delay, it's been a rough few days. Login information has been sent.

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

More
10 years 11 months ago #221487 by nicolas
Replied by nicolas on topic Cart Pop-Up
Hi,

I've had a closer look thanks to the access, but it looks like a problem relative to your Joomla template and it won't be fixable with CSS code only.
The height set for the inner iframe of the popup is the same size as the border div while it should have a height 20px lower than it.
If you switch to protostar template, you can see that this problem doesn't occur.

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

More
10 years 11 months ago #221488 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Ok thank you Nicolas! I'll take it up with RocketTheme.

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

More
10 years 11 months ago #221515 by henrykk
Replied by henrykk on topic Cart Pop-Up
For my Rockettheme template - the following solved the misaligned boxes:
Set the following as a CSS override (how will depend on which version of gantry you are using)
#sbox-window {
padding:0;}

Cheers
Henryk

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

More
10 years 11 months ago #221520 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
henrykk

Thank you! That worked. I'm checking to see if anything else was effected, but the only thing I can see is that the white border is now gone. Any thoughts on how to bring that back so the pop-up isn't lost to the background colors?

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

More
10 years 11 months ago #221545 by Xavier
Replied by Xavier on topic Cart Pop-Up
Hi,

Instead of the:
Code:
#sbox-window { padding:0;}
property you can try:
Code:
#sbox-window { height:240px !important; }

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

More
10 years 11 months ago #221769 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Xavier to the rescue!!! That worked! Thank you.

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

More
10 years 8 months ago #231410 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
So...I've pushed my test site over to my live site, and ran in to a problem with this. When looking at images in HikaShop, the images are now the same size as the pop-up cart image. I've pulled the changes out of my custom.scss file (so you can't see it now...but the cart pop-up is messed up again because of it), but I wanted to check in to see if there were any thoughts on this issue.

Is there a way to separate out the changes to effect ONLY the cart pop-up and not the image pop-ups?

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

More
10 years 7 months ago #231418 by nicolas
Replied by nicolas on topic Cart Pop-Up
Hi,

The add to cart popup notice is done with mootools.
The image popup is done by default with mootools, but you can change it by changing the "Image popup mode" setting of the Display tab of the HikaShop configuration.
So that way, if you use another popup system for the images, your CSS for the add to cart popup notice won't affect the popups for the images.

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

More
10 years 7 months ago #231463 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up

nicolas wrote: Hi,

The add to cart popup notice is done with mootools.
The image popup is done by default with mootools, but you can change it by changing the "Image popup mode" setting of the Display tab of the HikaShop configuration.
So that way, if you use another popup system for the images, your CSS for the add to cart popup notice won't affect the popups for the images.


So, if I'm reading this right, if I were to change the image popup from mootools to "image popup mode"...I should be able to make the changes to the cart as listed above, without it causing changes to the image popups?

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

More
10 years 7 months ago #231468 by nicolas
Replied by nicolas on topic Cart Pop-Up
Well, if you change the image popup mode setting to something else, the image popups will use a different popup system and thus look a bit different, but then, your CSS for the add to cart notice popup won't affect the popup of the images.

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

More
10 years 7 months ago #231494 by Dragon41673
Replied by Dragon41673 on topic Cart Pop-Up
Ok cool...I'll upload everything back in to the test environment & play with it a bit.

Thank you!

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

Time to create page: 0.758 seconds
Powered by Kunena Forum