Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vaibhav 119 posts 139 karma points
    Mar 26, 2011 @ 07:13
    vaibhav
    0

    template questions...

    Hello,

    I dont know whether i can do or not this tihngs but i like to know whether we can do it , if yes then how ?

    1.can i change background without touching the css ? ......

    2. how to use more than one master page for single template ?

  • Rich Green 2246 posts 4008 karma points
    Mar 26, 2011 @ 07:16
    Rich Green
    0

    Hi,

    1) yes, just use the colour picker and set the bgcolor directly in your body tag.

    2) Not sure I understand this question, you can have MasterTemplates that inherit from other Master Templates but I'm not sure that's what you're asking,

    Rich

  • vaibhav 119 posts 139 karma points
    Mar 26, 2011 @ 07:36
    vaibhav
    0

    ok ....

    1. & if i have image in background then can i change that image ?

    2.  say i have two different master pages

          master page 1  & master page 2

          & i have one template say template1

         I want to give permission to the site master to choose which master page to apply on the template.  can i do like this ?

  • Rich Green 2246 posts 4008 karma points
    Mar 26, 2011 @ 07:44
    Rich Green
    0

    Hi,

    1) Yes, you can control the markup exactly how you want, so in the body tag just set the <body background="your.gif"> on your homepage doctype add a way for the user to upload the background image.

    2) Yes, go to Settings- then select your DocType, under "Allowed templates just specify which templates you want your user to be able to select.

    Rich

  • vaibhav 119 posts 139 karma points
    Mar 26, 2011 @ 07:59
    vaibhav
    0

    ok...

    1. ok..i tried that for whole body ..it working fine .... but wha if i want to change the background image of perticular div ?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 02, 2011 @ 10:58
    Jan Skovgaard
    0

    Hi Vaibhav

    It's the same concept.

    You just need to fetch the image on that div element instead of on the body element. Does it make sense?

    Otherwise I would like to see a snippet of the template where you have the specific div element.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft