Can anyone let me know where to edit to make the “file upload” link to look better, just text at the moment and doesnt even change style on mouseover?
see attached.
Thanks
John
Well heres CSC answer but it dosent work on my site still shows just text and not button, perhaps you could let me know what Im doing wrong and use it yourselves if need it.
Thank you for the detailed information.
To change the layout of the “Upload link” link, please pass the following steps:
- Create the following directories path in the root directory of your CS-Cart installation:
“skins/[CUSTOMER_ACTIVE_SKIN]/customer/addons/my_changes/hooks/index”, where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront.
- Create the “styles.post.tpl” file in the “skins/[CUSTOMER_ACTIVE_SKIN]/customer/addons/my_changes/hooks/index” directory with the following content:
3. Create the "styles.css" file in the "skins/[CUSTOMER_ACTIVE_SKIN]/customer/addons/my_changes" directory with this code:
a.new{
display: inline-block; width: 70px; height: 20px; background: %YOUR_COLOR% no-repeat 0 0;
text-decoration:none;
text-align:center;
color:#FFFFFF;
}
where %YOUR_COLOR% is your own HEX color code (for example #ff33bb).
4. Save the file.
5. Open the "fileuploader.tpl" file located in the "skins/[CUSTOMER_ACTIVE_SKIN]/customer/common_templates" directory of your CS-Cart installation (where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront)
6. Replace this part of the code:
{if $images}{$upload_another_file_text|default:$lang.upload_another_file}{else}{$upload_file_text|default:$lang.upload_file}{/if}
with this one:
{if $images}{$upload_another_file_text|default:$lang.upload_another_file}{else}{$upload_file_text|default:$lang.upload_file}{/if}
7. Save the file.
8. Clean the templates cache, by opening this link: [url]http://www.elitesportswear.co.uk/index.php?cc[/url]
After that you will be able to see the "Upload link" button
Thanks
JOhn