Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • niallfitz Friend
    #156399

    Hi,
    Can anyone tell me how I can have one background for the home page and other backgrounds for any inside pages. Similarly with the logo position.

    Thanks

    Saguaros Moderator
    #363852

    You open the file: templates/ja_zinc/index.php and find the following code:
    [PHP]
    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>” >
    [/PHP]

    replace:

    [PHP]

    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo “ja-itemid”.JRequest::getVar(“Itemid”);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?>
    [/PHP]
    when done

    if you would like to make other background for a page. you need know what is the id of this page ?

    For example with Typography having item id 53: you add the following to css into the template.css file:

    .ja-itemid53{ background:red!important}

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum