Center add to cart popup (cause of conflict with Yootheme sticky menu)

3 years 5 months ago
Posts: 16
More
Topic Author
Center add to cart popup (cause of conflict with Yootheme sticky menu) #3872
I would like to center the popups (uikit modals). Since they conflict with my sticky menu. See here (scroll little ad try adding ;)):
development.colourwell.com/nl/haarverzor...onker-kastanje-bruin

I have made an override for the image which was easy. However I don't know how to override the hidden footer code for the add to cart button. Tried the default_addtocart.php but the code in the bottom of the file is between <-- tags and not used.
So can you tell me where I can change data-uk-modal to data-uk-modal="{center:true}".

Thank you :)

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

3 years 5 months ago
Posts: 1284
More
Center add to cart popup (cause of conflict with Yootheme sticky menu) #3879
Hello
that line coming from follwing file. You can change in following file
plugins\system\vmuikit_override\html_override\com_virtuemart\themes\default\assets\js\custom\vmuikit.js

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

3 years 5 months ago
Posts: 16
More
Topic Author
Center add to cart popup (cause of conflict with Yootheme sticky menu) #3881
Thank you Mani.

Maybe with an eye on future updates and since this is a small hack it could be added as option (to center popups) in the configuration?

Regards,
Patrick

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

Time to create page: 0.084 seconds
Powered by Kunena Forum

Latest News from JoomlaPro.com

VMuikit 5 is finally out!

Our next version of our popular VMuikit package is out. This time we have some quite nice new features.

Electroneum Joomla/VirtueMart plugins

JoomlaPro.com are not only web & Joomla enthusiast, we cannot stay away from checking other tech trends as well. The last few years its been hard to miss the crypto/blockchain ...

New plugin: Secure Joomla Login

We have released a new plugin that adds a extra PIN code and a reCaptcha v2 check on Joomlas login. Security is very important on all fronts of a website. One often missed one is ...

We accept PayPal, 2Checkout & Electroneum payments:

We accept PayPal payments    We accept 2checkout payments  electroneum payment


For news and updates please like :