Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ahmedhn Friend
    #155410

    Hi, How can I use a different background image for the front page than the rest of the subpages?

    Saguaros Moderator
    #359672

    You open the file: templatesja_uranilayoutsdefault.php and find this:

    [PHP]<body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>”>[/PHP]
    replace:
    [PHP]
    <body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?> <?php if( $this->isFrontPage() ): ?> myhomepage<?php endif;?>”>
    [/PHP]

    you will define css rules applying for the home page

    For example:

    .myhomepage{ background:red!important}

    .myhomepage #ja-wrapper{background:red!important}

    ahmedhn Friend
    #359781

    Thanks,

    The footer works (ja-wrapper) but the top background image still reads it from the body#bd and not myhomepage

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

This topic contains 3 replies, has 2 voices, and was last updated by  ahmedhn 14 years, 1 month ago.

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