Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Benjamin Falcon Friend
    #173520

    Can you please show me how to add a second logo as seen in the screenshot?

    Thank you


    1. second_logo
    pavit Moderator
    #436838

    Hi

    You can have a module position there and put an image in that module

    Is this a good solution for your needs ?

    Benjamin Falcon Friend
    #436839

    I tried that but it did not display well. Do you happen to know if this could this be done by modifying the template.css or would I also have to modify php files? Thank you.

    pavit Moderator
    #436840

    Hi

    In your templatesja_travelblocksheader.php
    you can add a new module position
    [PHP]<?php if($this->countModules(‘secondlogo’)) : ?>
    <div id=”ja-secondlogo”>
    <jdoc:include type=”modules” name=”secondlogo” />
    </div>
    <?php endif; ?>[/PHP]

    Then in your templateDetails.xml add this position

    <position>secondlogo</position>

    In your template.css

    #ja-secondlogo {
    float: right;
    margin-top: 0;
    }

    Then you can make a new custom-html module insert your logo image and publish it in secondlogo position

    I think that you need to calibrate better the css for the margins top and bottom

    Benjamin Falcon Friend
    #436862

    Thank you very much for your guidance, I did it and it worked perfectly.

    Just curious about something, would it have been possible to add a logo without creating a div position like you showed me above (in PHP)? In other words, is it possible to do it using CSS and nothing else?

    pavit Moderator
    #436872

    <em>@directcorrespondentlender 298657 wrote:</em><blockquote>Thank you very much for your guidance, I did it and it worked perfectly.

    Just curious about something, would it have been possible to add a logo without creating a div position like you showed me above (in PHP)? In other words, is it possible to do it using CSS and nothing else?</blockquote>

    Not in Joomla, better in a blocks structured template you need always something to place the module and after the CSS to stylize it

    you can use only CSS in a pure html code, with a linear flowchart, here all is divided in blocks.

    I hope I explained myself

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

This topic contains 6 replies, has 2 voices, and was last updated by  pavit 12 years, 9 months ago.

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