Support » Themes and Templates » Need a Guru's advice on how to do this page template

  • Hi,

    I like to create a page template that divides the content into three columns like this:

    <div>Left Column</div>
    <div>Main Column</div>
    <div>Right Column</div>

    The Main column should display the usual page content as by default.

    The Left Column should show the content of a specific subpage with the pageId = 10.

    The Right Column should show the content of a specific subpage with the pageId = 20.

    Is this possible?

    I would really appreciate if someone could point me to the right direction,

    Many Thanks,
    Houman

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Houman,
    Yes this is very possible 🙂

    Ofcourse the main column gets the usual content, so you don’t have to change anything.

    Your code for the left and right column would look something like this:

    [code moderated – please use the pastebin for any code longer than 10 lines]

    Do note that 10 and 20 are the ids of the page you want to include. You can always change them to appropriate ones.

    This should work for you 🙂

    Dear Abinav,

    Thank you so much for your kind help. I was investigating this issue for four days without any solution.

    Thanks god, I saw your code before the moderator kindly deleted it.

    I have it now almost working

    http://venuscloud.com/crm-software/

    However for some reason the right column goes to the bottom instead.
    I don’t understand why. May you be able to have a look at the source code and enlighten me please?

    Many Thanks for your kind help,
    Regards,
    Houman

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need a Guru's advice on how to do this page template’ is closed to new replies.