Can I use the same theme for mobiles but with some differences? (I'm using the sameone but the W3C validator doesn't like my big image and my _blank links
To use your regular theme as a starting point, copy it to [root]/themes/mobile_theme (you can call the destination folder anything you want). In this new folder, open 'description.txt' and change the first line so it's identical to the name on your new folder (leave out the underscores so a folder called mobile_theme would have the first line read 'Mobile Theme'). Visit 'Dashboard->Themes' and install this new theme but don't 'activate' it for your site. Now you tell C5 to use this new theme for mobile. You can now make the necessary changes to this new theme to make it mobile-friendly.
Clear as mud?
Thanks a lot
Anything is working for me...
I put the theme in other folder into /Themes, I changed the description.txt file, I went to the Dashboard>Themes and it's not there...
I went to the marketplace and the only "mobile-friendly" free theme I can find is one called "Sex 'n Chocolate" which is not very clean and simple.
I have found an addon called "Mobile Theme Switcher" but is not available for the new C5 version, and still there in my "Add Functionality" page.
Anyway, I've being thinking (for a moment, it's quite late here) and my main poblems for mobile optimization are _blank links and my too big (in MB terms) picture. Well... if I change the theme for mobiles those elements will still there because they're not part of the theme, but of the content of my page... So? So what I need is another version of my own site. How do I do that? Do I need /root/concrete and /root/concrete1 or something like that? do I need to different "accounts" of C5?
Please help, I'm lost
Then you need a way to direct the mobile user to the mobile sight. I did a quick search and found this code. This would go in the header.php:
You should change the
document.location = "www.mysite.com/mobile/
The easiest solution is to start with a 'responsive' theme. These themes adjust to smaller screen sizes. Search for 'responsive' on the Themes page of concrete5.org.
Failing this, copying the current theme and selecting this new theme as the mobile theme is a viable solution. We just have to get that second theme working.
About the path, I have everything in /www/concrete/. So should I delete it and put it all in /www/? In both?
The reason you stay out of the concrete folder is because all those files get written over when you upgrade to a newer version of concrete5. You will notice that all the folders inside the 'concrete' folder are duplicated outside the 'concrete' folder. All the stuff outside the 'concrete' folder is not touched when you upgrade C5 so it's safe to customize files ONLY outside the 'concrete' folder.
I'm using Greek Yogurt Theme (very customized) as a "normal" theme, and this new one, "responsive" one (called Rigid Light) as "mobile version".
Should I move the "normal" one to /www/packages?
I have a custom theme that my client is very happy with, but now they want the site to be more mobile friendly. It sounds as if the best solution is to start with a "responsive theme" an then customize it. Can you recommend a responsive theme that can be easily restyled to match an existing site?
Head over to the concrete5.org marketplace (http://www.concrete5.org/marketplace/themes/... ) and use the check boxes on the right to select 'responsive'. Most responsive themes are pretty new and it takes a fairly good knowledge of theme-building to make them responsive so most of them are being built by knowledgeable and experienced concrete5 developers. Most have demo sites so you can try them out on your iPad or adjust the size of your browser to see how they handle the smaller screen sizes.