News:

Wondering if this will always be free?  See why free is better.

Main Menu

Change Wap Theme?

Started by smtek, March 17, 2011, 09:20:32 AM

Previous topic - Next topic

smtek

Hey Smf Experts, I want to change the theme of smf wap version  :o Because i have seen a smf site whose wap theme was different. So tell me how to change the wap theme ?
http://thetekwar.com

^ Your entry to the best tech community

Arantor

Rewrite the contents of Themes/default/Wireless.template.php where the functions start with template_wap. I can't be any more specific because you haven't given enough information - where are you trying to get to?

Masterd

I think that he wants to change the CSS.

smtek

I want to change the background colour and make the forum little wider.
http://thetekwar.com

^ Your entry to the best tech community

NanoSector

Quote from: smtek on March 17, 2011, 02:16:43 PM
I want to change the background colour and make the forum little wider.
Wider isn't gonna work -- it is already based on the screen width :P

The background colour is indeed set in the CSS.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Arantor

I wonder how many WAP1 devices support CSS...

NanoSector

Quote from: Arantor on March 17, 2011, 04:58:11 PM
I wonder how many WAP1 devices support CSS...
Me too :P

But I guess the user means WAP2?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Arantor

Which means we go back to my first post in this thread asking exactly what the user is trying to achieve...

smtek

Can someone tell little clearly how to edit to background colour in wap2 or wap version
http://thetekwar.com

^ Your entry to the best tech community

Arantor

You have to edit Themes/default/css/wireless.css

Replace all the background-color: #fff instances with something else to suit what you want. I'd help but I have no idea what colour you want it.

It isn't an option for WAP though, only WAP2.

Hack-King

what if i want to give my wap site a particular them?

Arantor

You can't without rewriting the template, physically at the code level itself.

Hack-King

what about creating a link that opens the site with a specific wap theme?

Masterd


Aleksi "Lex" Kilpinen

Wap and wap2 are both very limited in what you can actually do to them, without losing compatibility with devices that actually rely on them.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

NanoSector

Hello.

smtekm, did you get your answer?
If you did, please mark this topic as solved (hit that green button below).
Thanks!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: