How do I include an image to the template? - Joomla! Forum - community, help and support


i put small image in top right corner of site (http://www.twinninggame.net). title picture on top background image. index.php file has following code:

code: select all

<body>
<div class="logo">
  <div class="flaga"></div>
</div>
<div class="menu_lewe">
  <div>
    <?php mosloadmodules ( 'left', -2 ); ?>
  </div>
</div>
<div class="tresc">
  <?php mospathway(); ?>
  <?php mosmainbody(); ?>
</div>


here part of code in style.css file:


code: select all

.logo {
   background-image: url(obrazki/logo.jpg);
   background-repeat: no-repeat;
   background-position: center;
   height: 80px;
   background-color: #fff1ca;
}
.menu_lewe {
   width: 150px;
   float: left;
}
.flaga {
   background-image: url(../obrazki/flaga.gif);
   background-repeat: no-repeat;
   background-position: left bottom;
   height: 80px;
   margin-bottom: 10px;
   margin-left: 10px;
}


"flaga" represents small picture on left, "logo" title picture in middle, , question is: should include small picture gra.gif on right?

moving "templates" board.





Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support