Kreiranje dodatne pozicije

Moderators: cicans, TheHacker

Locked
User avatar
Woutan
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Sat Sep 25, 2010 5:40 pm
Location: Trebinje-Beograd
Contact:

Kreiranje dodatne pozicije

Post by Woutan » Sun Oct 23, 2011 11:37 am

Pozdrav.
imam jedan problem, napravio sam template u artisteer-u, sve je ok samo što nemam poziciju za modul u hederu. Naišao sam da dosta rješenja li ni jedno nije pomoglo. jedno od rješenja je: http://forum.joomla.org/viewtopic.php?f=466&t=442148

Mučim se već duže vrijeme, jer mi dobro ide css, ali nikako ne mogu da provalim gdje pravim gresku :'(
Odradio sam sve kako piše u rješenju, nego neće da mi prikaže modul, u ovom slučaju je u pitanju baner. Kada idem (u chromu) desnim na sajt pa "ispitaj element" nadjem ga, čak i potamni ta pozicija, ali se ne vidi, kao da je iza hedera, uvjerite se i sami http://etrafika.net. pokušavao sam sa premještanjem koda ali nije pomoglo.

Evo i kodova:

index.php
Stari:

Code: Select all

<body>
<div id="art-main">
<div class="art-sheet">
    <div class="art-sheet-tl"></div>
    <div class="art-sheet-tr"></div>
    <div class="art-sheet-bl"></div>
    <div class="art-sheet-br"></div>
    <div class="art-sheet-tc"></div>
    <div class="art-sheet-bc"></div>
    <div class="art-sheet-cl"></div>
    <div class="art-sheet-cr"></div>
    <div class="art-sheet-cc"></div>
    <div class="art-sheet-body">
<div class="art-header">
    <div class="art-header-center">
        <div class="art-header-png"></div>
        <div class="art-header-jpeg"></div>
    </div>
        <div class="art-header-fluid-object"></div>
<div class="art-logo">
 <h1 id="name-text" class="art-logo-name"><a href="<?php echo $document->baseurl; ?>/">Trafika</a></h1>
</div>

Uređeni:

Code: Select all

<div class="art-sheet">
    <div class="art-sheet-tl"></div>
    <div class="art-sheet-tr"></div>
    <div class="art-sheet-bl"></div>
    <div class="art-sheet-br"></div>
    <div class="art-sheet-tc"></div>
    <div class="art-sheet-bc"></div>
    <div class="art-sheet-cl"></div>
    <div class="art-sheet-cr"></div>
    <div class="art-sheet-cc"></div>
    <div class="art-sheet-body">
<div class="art-header">

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

    <div class="art-header-center">
        <div class="art-header-png"></div>
        <div class="art-header-jpeg"></div>
    </div>
        <div class="art-header-fluid-object"></div>
<div class="art-logo">
 <h1 id="name-text" class="art-logo-name"><a href="<?php echo $document->baseurl; ?>/">Trafika</a></h1>
</div>

template.css


stari:

Code: Select all

/* begin Header */
div.art-header
{
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 125px;
  overflow: hidden;
}


div.art-header-center
{
	position: relative;
	width: 1152px;
	left:50%;
}


div.art-header-png
{
  position: absolute;
  left:-50%;
  top: 0;
  width: 1152px;
  height: 125px;
  background-image: url('../images/header.png');
  background-repeat: no-repeat;
  background-position:center center; 
}

div.art-header-jpeg
{
  position: absolute;
  top: 0;
  left:-50%;
  width: 1152px;
  height: 125px;
  background-image: url('../images/header.jpg');
  background-repeat: no-repeat;
  background-position: center center;
}

div.art-header-fluid-object
{
  display: block;
  left: 9%;
  margin-left: -0;
  position: absolute;
  top: 47px;
  width: 45px;
  background-image: url('../images/fluid_object.png');
  background-repeat: no-repeat;
  background-position: center center;
  height: 44px;
}

/* end Header */

Uređeni:

Code: Select all

/* begin Header */


div.art-header
{
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 125px;
  overflow: hidden;
}

div.banerheder
{
float: right;
margin: 0;
margin-top: 20px;
margin-right: 20px;
margin-bottom: 0px;
margin-left: 0px;
}


div.art-header-center
{
	position: relative;
	width: 1152px;
	left:50%;
}


div.art-header-png
{
  position: absolute;
  left:-50%;
  top: 0;
  width: 1152px;
  height: 125px;
  background-image: url('../images/header.png');
  background-repeat: no-repeat;
  background-position:center center; 
}

div.art-header-jpeg
{
  position: absolute;
  top: 0;
  left:-50%;
  width: 1152px;
  height: 125px;
  background-image: url('../images/header.jpg');
  background-repeat: no-repeat;
  background-position: center center;
}

div.art-header-fluid-object
{
  display: block;
  left: 9%;
  margin-left: -0;
  position: absolute;
  top: 47px;
  width: 45px;
  background-image: url('../images/fluid_object.png');
  background-repeat: no-repeat;
  background-position: center center;
  height: 44px;
}



/* end Header */
Ne šaljem kod od templateDetails.xml jer sam siguran da je on u redu, očitao mi je poziciju bez problema u admin-u

/Pozdrav :D
http://www.malestvari.net
http://etrafika.net
Hercegovina, Kalifornija...
Volim što sam eroooo :D

 
User avatar
joes021
Joomla! Explorer
Joomla! Explorer
Posts: 319
Joined: Mon Mar 23, 2009 11:45 am
Location: Novi Sad
Contact:

Re: Kreiranje dodatne pozicije

Post by joes021 » Tue Nov 01, 2011 12:29 am

Artisteer.....

Eh, kako je to lepo izgledalo u prvom koraku. Sve on uradi a ja dizajner. Znam, sve znam...

A onda sam trebao da nešto promenim. :eek: :eek: :eek: :eek:

I onda mi je pukao film. >:( >:( >:(

I od onda se patim. :-\ :-\ :-\

ALI DOĆE KRAJ MOJOJ PATNJI.... :D :D :D :D

Ne mogu da se nateram da gledam ovaj njihov kod, izvini.

Znam da ti nisam pomogao ali posle ovoga je meni lakše :)
Djordje Stanic
http://www.creativetemplatedesigner.com
Software for making joomla templates

User avatar
Woutan
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Sat Sep 25, 2010 5:40 pm
Location: Trebinje-Beograd
Contact:

Re: Kreiranje dodatne pozicije

Post by Woutan » Thu Nov 03, 2011 3:56 pm

Hahahah, super, bar je tebi lakše, a meni još niko nije odgovorio :(
http://www.malestvari.net
http://etrafika.net
Hercegovina, Kalifornija...
Volim što sam eroooo :D

 

Locked

Return to “Šabloni”