Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Joomla style sheet disappeared from popups

Joomla style sheet disappeared from popups 11 years 5 months ago #559

Hello

Can you please advise what might be causing the Puremart to not load the joomla template css in my popups
if you click the quick look on any product here
www.websitedesigning.net.au/index.php?option=com_virtuemart&view=category&virtuemart_category_id=2&Itemid=195
the styling from the joomla template is lost

It works fine in the more infos link
www.websitedesigning.net.au/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=25&virtuemart_category_id=2&Itemid=195

this also occurs with the "ask a question" and "shopping cart module popup"

regards Karl
Last Edit: 11 years 5 months ago by Karl Kaczmarczyk. Reason: added css wording
The administrator has disabled public write access.

Joomla style sheet disappeared from popups 11 years 5 months ago #569

HI,

if you notice, the quicklook opens as a new page, and it doesn't load the menu navigation on top, or modules in left.
Actually it is a Joomla thing. See the URL of quicklook.

www.websitedesigning.net.au/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=28&tmpl=component&flexiblelayout=quicklook&virtuemart_category_id=2&Itemid=195

If you remove the tmpl=component from the URL, it becomes this:
www.websitedesigning.net.au/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=28&flexiblelayout=quicklook&virtuemart_category_id=2&Itemid=195

Browse it as well, it loads everything from your joomla template. (menus on top, module positions, all joomla template CSS etc..

You can apply it to anything in the joomla, for example:
www.websitedesigning.net.au/index.php?option=com_users&view=registration
See the difference with this:
www.websitedesigning.net.au/index.php?option=com_users&view=registration&tmpl=component

I guess all your concern is; the links becomes bright BLUE in the quicklook popup,. And you want to change them, Right?
Because some how your joomla templates' CSS files don't get loaded when tmpl=component is applied to URL. As said, since it is a joomla thing, our VM Template has no influence with it.

But you can do this:
Take the any CSS rules you see in these CSS file:
www.websitedesigning.net.au/templates/yoo_sphere/css/style.css
COPY all of them.

And then open this CSS file:
www.websitedesigning.net.au/templates/yoo_sphere/html/com_virtuemart/assets/css/flexibleVM2Global.css
(it is loaded in the QUICKLOOK popup page)

Scroll to the bottom, and PASTE. Therefore, flexibleVM2Global.css will have the all the CSS rules that style.css has. Understand? Then links will be styled now in quicklook popup. (the colors will be turquoise and orange when hovered)
You can do the same thing for other CSS files as well. But don't copy all other CSS's to flexVM2Global.css, otherwise the file size will increase which also increases the page loading time (in the order of milliseconds though).

Cheers.
The administrator has disabled public write access.
Time to create page: 0.056 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo