-
AuthorPosts
-
Benjamin Falcon Friend
Benjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
February 3, 2012 at 8:16 pm #173520pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 3, 2012 at 8:33 pm #436838Hi
You can have a module position there and put an image in that module
Is this a good solution for your needs ?
Benjamin Falcon FriendBenjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
February 3, 2012 at 8:38 pm #436839I 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 3, 2012 at 8:44 pm #436840Hi
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
1 user says Thank You to pavit for this useful post
Benjamin Falcon FriendBenjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
February 4, 2012 at 1:44 am #436862Thank 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 4, 2012 at 6:35 am #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
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by pavit 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to display a second logo image?
Viewing 6 posts - 1 through 6 (of 6 total)