cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to duplicate a CMS page for a custom template?

Is it possible to duplicate a CMS page for a custom template?

Hi all,

I have a "default" template and a "mobile" template.

I have this page on the CMS: http://<site_url>/mycontacts

I would have the same CMS page http://<site_url>/mycontacts with different content on the mobile template.

Is it possibile to have two CMS page with the same name the first working for the default template and the second working for the mobile template?

The page should have the same link so that i don't have to change the link everywhere in the mobile template.

 

Thank you very much

 

claudio

2 REPLIES 2

Re: Is it possible to duplicate a CMS page for a custom template?

Usually it's done by having two blocks of which one is always "display: none;". Which one exactly is determined by @media queries.

Tanel Raja

Re: Is it possible to duplicate a CMS page for a custom template?

You can create your mobile content in the same page but wrap it in lets say

<div class="mobile-only">mobile content</div>

and style it so it only shows on smaller resolutions.