Photo in the header next to Logo

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago #31480 by joa
I would like to insert a Foto or Flash file in the area market with the box on top of the page joomla.bcmarburg.de but I can't identify the location where to put it.
Can you tell me what the module or code is?
Thanks

Attachments:

Please Log in to join the conversation.

More
10 years 7 months ago #31486 by ivan.milic
In index.php of template you can find this HTML that is for whole header area:


[code]
<div class="header">
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="381" height="96" alt="joomla restaurant template" /></a>
</div>
<div class="header_menu">
<jdoc:include type="modules" name="user9" />
</div>
</div>
/code]

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago #31504 by joa
Thanks what would be the piece of code I have to insert where (probably behind the logo) in the index to display another image at that position?

Please Log in to join the conversation.

More
10 years 7 months ago #31510 by ivan.milic
Insert image tag between this two lines:

<div class="header_menu">
<jdoc:include type="modules" name="user9" />

then we will see what is next...

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 7 months ago #31530 by joa
Ok this is the code i added between the lines. The picture is called HeaderPhotoBC.jpg and is stored in template/hot sportal/images
<div class="header_menu">
<img src="<?php echo $template_path ?>/images/HeaderPhotoBC.jpg alt="HeaderPhotoBC" height="183" width="720">
<jdoc:include type="modules" name="user9" />
</div>
if you look under joomla.bcmarburg.de it shows a place holder and moved everything in the menu including facebook logo and login etc.
Is there a mistake in the code?

Please Log in to join the conversation.

More
10 years 7 months ago #31539 by ivan.milic
Add this to template_css.css:

.header_menu > IMG{
position: absolute;
margin-left: -1000px;
margin-top: -10px;
}

Please Log in to join the conversation.

Time to create page: 0.340 seconds
Powered by Kunena Forum