News:

Support the VirtueMart project and become a member

Main Menu

Ask question / Send to friend no CSS?

Started by izemate, January 09, 2014, 13:06:27 PM

Previous topic - Next topic

izemate

Hi

On my webshop the "ask question" and "send to fried" popup box dosent seem to have any CSS included?
The font is different from the rest.

Anybody know how to fix this?

Exampel page:
http://www.scandinaviancomputers.com/da/?option=com_virtuemart&view=productdetails&virtuemart_product_id=29&virtuemart_category_id=99&Itemid=163

Thanks in advance.

Christopher

Yes - open the following file:

[SITE ROOT]/components/com_virtuemart/views/askquestion/tmpl/form.php

Add the following at the TOP of the file, above the opening "<?php" tag :

<head>
<link rel="stylesheet" type="text/css" href="../../../../../templates/[YOUR TEMPLATE FILENAME]">
</head>

The series of "../" (Five in the case shown above) will take the 'path' back to the SITE ROOT

Hope this helps
There are 10 types of people in the world:
Those who understand binary and those who don't

Christopher

#2
... you need to wrap the call to the stylesheet in the <head> and </head> tags because it's a PHP file

You can change the other file - For "Recommend to a Friend" in the following location:

[SITE ROOT]/components/com_virtuemart/views/recommend/tmpl/form.php
There are 10 types of people in the world:
Those who understand binary and those who don't