How can i modify the existing MJ template for different purpose

s_alangar
13 years ago
hi...

How can i modify the existing MJ template for different purpose for different devices like iPhone,android etc? what are the files that need to be edited??
dryabov
13 years ago
MJ uses (by default) mobile_iphone template for iPhones and mobile_pda for Androids and other devices (and almost unused mobile_wap for ancient WAP1.0 browsers and mobile_imode for not-less-ancient Compact-HTML browsers).
If you need to just change css styles, edit css/custom.css file inside template's directory,
If you need to edit other files (e.g. index.php), I'd recommend you to make copy of a template and edit the copy (because of MJ's core templates will be overwritten during MJ update).
jamirawan
13 years ago
How come my custom.css is empty? I mean its a blank document....
dryabov
13 years ago
Yes, it's the file for your own css styles (it will not be replaced on MJ updates).
jamirawan
13 years ago
ahh... got it now, so i can replace with any styles I like including replacing buttons and images? Cool...
maozx
11 years, 2 months ago
dryabov wrote:
MJ uses (by default) mobile_iphone template for iPhones and mobile_pda for Androids and other devices (and almost unused mobile_wap for ancient WAP1.0 browsers and mobile_imode for not-less-ancient Compact-HTML browsers).
If you need to just change css styles, edit css/custom.css file inside template's directory,
If you need to edit other files (e.g. index.php), I'd recommend you to make copy of a template and edit the copy (because of MJ's core templates will be overwritten during MJ update).

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.