Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • Sherlock Friend
    #276431

    admin account and FTP account

    fanho Friend
    #276435

    Sorry if I didn’t make it clear but my site is not on a web server right now. It’s on a localhost (on my computer running with wamp server) So I don’t have a FTP that I can give you.
    I know that wamp can go online and then you should be able to access it directly on my computer. But I’ve never done before so i’m trying to understand how to do it.
    Do you know how to do it ?

    Stephane

    fanho Friend
    #276437

    You can try this:

    http://60.33.17.77/joomla/administrator

    user: visitor
    password: joomlart

    Stephane

    Sherlock Friend
    #276439

    Hi
    I tried on my localhost like this:

    <?php
    $Itemid=JRequest::getCmd('Itemid');

    $color="default";
    if ($Itemid=="54"){
    $color="red";
    }
    if ($Itemid=="58"){
    $color="green";
    }

    ?>
    <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $color; ?>.css" rel="stylesheet" type="text/css" />

    And it works

    fanho Friend
    #276441

    Wow!!!!
    It does work !!!!:D
    Thank you so much !!!
    Have a great day !!!

    Sherlock Friend
    #276529

    OK
    I marked it is solved

    Sherlock Friend
    #276530

    OK
    I marked it is solved

    iainmac Friend
    #366223

    I am trying to achieve the same result with the JA Olivine template and I have added the same code to the idex file and identified the item id. I am not sure what I need to do with the css file to get the colour/image to show. Do I need to create a completely new css file called red.css? and if so can you give an example of what I need to write to get the menu to change colour.

    Thanks in advance for your help.

    Ninja Lead Moderator
    #366282

    Dear iainmac,

    You just need to create additional css files to include in index.php along with other css files, not to replace theme.
    For instance, you define an red.css, in that file you only need to define styles for necessary elements of which you wish to change style / color.

    Since, it is not all that easy to code in css and is beyond the preview of support here. You should use google for refences / tutorials regarding CSS coding.

Viewing 9 posts - 16 through 24 (of 24 total)

This topic contains 24 replies, has 4 voices, and was last updated by  Ninja Lead 13 years, 11 months ago.

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