How do I modify template

تم الحذف
من مجهول

Is there any WYSIWYG module or how can I edit/add/remove template. I am new in Litechart and have some experiences with Joomla so maybe I am on alter way? For instance
1.) How do I (re)design or customize Frontend look including default (ducks) picture which is duck at the moment?
2.) How do I add/rename/change footer and items in it (Categories Account Information Contact)
3.) How do I finish or continue with partial translation(s).

Thx in advanced! Miha

LiteCart Fan
من Thailand
عضو منذ أغسطس 2017

Hello,
1) admin/slides (WYSIWYG)
2) public_html\includes\templates\default.catalog\views\box_site_footer.inc.php (coding)
3) admin/translation (WYSIWYG)
I remember some partial module to add some cosmetics in [url=https://www.litecart.net/en/addons]https://www.litecart.net/en/addons[/url] in the templates section ([url=https://www.litecart.net/en/addons?category_id=11]https://www.litecart.net/en/addons?category_id=11[/url]) 
For the font I add in public_html\includes\templates\default.catalog\layouts\default.inc.php a style section that include, for example:


@font-face {font-family: 'MarkPro'; src: local('MarkPro Regular'), local('MarkPro-Regular'),url("https://www.yourdomain.com/MarkPro.woff2") format("woff2"); font-weight: normal; font-display: swap;}
@font-face {font-family: 'MarkPro'; src: local('MarkPro Regular'), local('MarkPro-Regular'),url("https://www.yourdomain.com/MarkProBold.woff2") format("woff2"); font-weight: bold; font-display: swap;}```
or you can add it in public_html\includes\templates\default.catalog\css\app.min.css as well. Of course use your favorite fonts.
LiteCart Fan
من Thailand
عضو منذ أغسطس 2017

Download the whole website in your computer (I do like this, you can also use the edit section of file manager of cPanel in case you use cPanel), edit the files and upload the modified file via ftp.
Backup everything before alter any files of course!

tim
Founder
من Sweden
عضو منذ مايو 2013
tim

@user9797 If your web host does not offer a way of accessing the files (usually FTP) there is a File Manager for LiteCart's backend.
https://www.litecart.net/en/addons/435/file-manager

To know which CSS file to edit, this is stated by the F12 console. See image what application file and line is referenced.

When it comes to which view to edit it is mainly the content in includes/templates/.catalog/pages/ and includes/templates/.catalog/views/. The name of the file should reflect what content is in it.

تم إغلاق هذا الموضوع بسبب عدم النشاط لفترة طويلة، ولا يمكن إرسال المشاركات إليه.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.