Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[css] Problem z tłem i innymi rzeczami
#11
Masz może skype i chwilę czasu? Może na spokojnie byśmy o tym porozmawiali na żywo i wtedy było by szybciej. Dziś będę w domu około 20:20. Mój skype: diskordis133 jak byś miał czas.
Odpowiedz
#12
Nie używam skype, jeżeli chcesz pogadać to jedynie na gg, masz numer w profilu
[Obrazek: 2guxq1i.gif]
Odpowiedz
#13
Problem na razie częściowo ominąłem poprzez parametr fixed, gdyż obraz akurat dzieli się tam gdzie jest content, więc tego nie widać a i tak prezentuje się dobrze.

Teraz kolejna sprawa. Chciałbym aby każde menu było otoczone delikatną ramką zaokrągloną na bokach. Próbowałem sam coś takie zrobić na podstawie szablon rhuk_milkyway, jednak teraz nie mam kompletnie pojęcia jak mam to zaimplementować do mojego obecnego index oraz do arkusza css.
Oto kod index.php (podaje cały by później nie było jakichś nie ścisłości)

Kod:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<!--[if lte IE 6]>
<link href="templates/<?php echo $this->template ?>/css/ie6only.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lte IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php
if($this->countModules('left and right') == 0) $contentwidth = "100";
if($this->countModules('left or right') == 1) $contentwidth = "80";
if($this->countModules('left and right') == 1) $contentwidth = "60";
?>

</head>
<body class="width_<?php echo $this->params->get('template_width'); ?>">
<div id="wrap">
      <div id="header">
        <div class="inside">
          <h1><?php echo $mainframe->getCfg('sitename');?></h1>
          <jdoc:include type="modules" name="user1" style="raw" />
        </div>
      </div><!--[if lte IE 7]>
        <script type="text/javascript">
        sfHover = function() {
            var sfEls = document.getElementById("tabs").getElementsByTagName("LI");
            for (var i=0; i<sfEls.length; i++) {
                sfEls[i].onmouseover=function() {
                    this.className+="sfhover";
                }
                sfEls[i].onmouseout=function() {
                    this.className=this.className.replace(new RegExp("sfhover\\b"), "");
                }
            }
        }
        if (window.attachEvent) window.attachEvent("onload",sfHover);
        </script>
<![endif]-->
       <jdoc:include type="modules" name="user2" style="xhtml" /> <!--This is tab menu-->
      <?php if($this->countModules('top')) : ?> <!--This is the teaser module-->
      <div id="top">
        <div class="inside">
         <jdoc:include type="modules" name="top" style="xhtml" />
        </div>
      </div>
      <?php else : ?>
      <div id="top">&nbsp;</div>
      <?php endif; ?>
      <?php if($this->countModules('left')) : ?>
      <div id="sidebar">
          <div class="ramka">
            <div class="inside">
              <jdoc:include type="modules" name="left" style="xhtml" />
            </div>
        </div>
      </div>
      <?php endif; ?>
      <div id="content<?php echo $contentwidth; ?>">
        <div class="inside">
          <div id="pathway">
            <jdoc:include type="module" name="breadcrumbs" />
          </div>
          <jdoc:include type="component" style="xhtml" />
        </div>
      </div>
      <?php if($this->countModules('right')) : ?>
      <div id="sidebar-2">
          <div class="ramka">
            <div class="inside">
                  <jdoc:include type="modules" name="right" style="xhtml" />
            </div>
        </div>
      </div>
      <?php endif; ?>
      <?php if($this->countModules('footer')) : ?>
      <div id="footer">
        <div class="inside">
          <jdoc:include type="modules" name="footer" style="raw" />
        </div>
      </div>
      <?php endif; ?>
      <?php if($this->countModules('bottom')) : ?>
      <div id="bottom">
        <div class="inside">
          <jdoc:include type="modules" name="bottom" style="horz" />
        </div>
      </div>
      <?php endif; ?>
      <?php if($this->countModules('left')) : ?>
    </div>
    <!--end of leftfauxcol-->
    <?php endif; ?>
    <?php if($this->countModules('right')) : ?>
  </div>
  <!--end of rightfauxcol-->
  <?php endif; ?>
  <div class="design"><a href="http://www.compassdesigns.net" title="Joomla Templates By Compass Design">Joomla Design By Compass</a></div>
</div>
<!--end of wrap-->
</body>
</html>

Dokładnie chodzi mi o to by każde menu na sidebar i sidebar-2 było tworzone w tym stylu który opisałem (przykład na
Cytat:www ciemnosc com
Pierwsze po lewej menu na szaro, takie właśnie pragnął bym mieć, jednak tak jak mówiłem nie mam pojęcia jak je wsadzić w ten kod, gdyż dopiero od niedawna zacząłem tworzyć i uczyć się css. Trochę poznałem, jednak na obecna chwilę to mnie przerasta. Bardzo proszę o pomoc, gdyż bardzo mi zależy na tej stronie!
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl