Problem z stroną główną

Inne  Założony przez  Nervak.

wersja skryptu MyBB:1.8.6
adres forum: Hermolus.y0.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
[Obrazek: 5e9faee524cdfc5b846201f3187cec82.png]
[Chodzi o to, że ten Your Title nie jest w tym miejscu co powinno i tylko ja mam taki problem bo kolega ma wszystko w porządku możecie pomóc?]
Włącz stronę dla gościa... podaj index.
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
Podaj cały kod pliku .index.php - ACP -> Style i szablony -> Szablony ->Strona Główna - Szablony ->index
, ale zapewne chodzi o styl "Revolution, więc tam jest takie coś jak:

Pewne wartości mam swoje, więc najlepiej wyszukaj linijkę używając słowa kluczowego <div class="side"
Strona dla forum:
<div class="forum" style="float: left; width: 75%;">
...
</div>

Strona dla Sidebarów:
<div class="side" style="float: right; width: 24%;">
...
</div>

Wystarczy, że wkleisz cały kod sidebara "Your Title" do diva z sidebarami (2 kod/przykład) i tyle.
Zapomniane Opowieści ® Digitalius
Writer ® TheForgottenTales Poland
Już włączyłem.

Zrobiłem to co napisałeś i nadal to samo.

<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    
lang.no_new_posts "{$lang->no_new_posts}";
    
lang.click_mark_read "{$lang->click_mark_read}";
// -->
</script>
</
head>
<
body id="forums">
{
$header}
<
div class="side" style="float: right; width: 24%">
 
 
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead">
<
div class="float_left"><strong>Your title</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
Content here
</td>
</
tr>
</
table>
 
 
  
<br />  
 
  
<script type="text/javascript">
    
jQuery(function(){
        
jQuery(".latestthreads").load("{$mybb->settings['bburl']}/portal.php .latestthreads_portal");
    });
    </
script>
 
 
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead">
<
div class="float_left"><strong>Latest activity</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
                <
div class="latestthreads float_left"></div>
        </
td>
</
tr>
</
table>
 
 
  
<br />
 
 
  
  
  
  
  
</div>
<
div class="forum" style="float: left; width: 76%;">{$forums}</div>
{
$boardstats}
<
br class="clear" />
{
$footer}
</
body>
</
html
<div class="forum" style="float: left; width: 76%;">

<div class="side" style="float: right; width: 24%;">

Twoje Divy rozciągają się na 100% okna (76% + 24%) , a nie wiem, jak zadziałają na różnej rozdzielczości, więc pomniejsz wartość conajmniej o 1% lub 2.
Zapomniane Opowieści ® Digitalius
Writer ® TheForgottenTales Poland
Znajdź:
<div class="side" style="float: right; width: 24%">
 
 
<table class="tborder" border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td class="thead">
<
div class="float_left"><strong>Your title</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
Content here
</td>
</
tr>
</
tbody></table>
 
 
  
<br 
 
  
<script type="text/javascript">
    
jQuery(function(){
        
jQuery(".latestthreads").load("http://hermolus.y0.pl/portal.php .latestthreads_portal");
    });
    </
script>
 
 
<table class="tborder" border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td class="thead">
<
div class="float_left"><strong>Latest activity</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
                <
div class="latestthreads float_left"></div>
        </
td>
</
tr>
</
tbody></table>
 
 
  
<br>
 
 
  
  
  
  
  
</div
Usuń to.

Znajdź:
<div class="forum" style="float: left; width: 76%;"


Po tym dodaj:


<div class="side" style="float: right; width: 24%">
 
 
<table class="tborder" border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td class="thead">
<
div class="float_left"><strong>Your title</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
Content here
</td>
</
tr>
</
tbody></table>
 
 
  
<br 
 
  
<script type="text/javascript">
    
jQuery(function(){
        
jQuery(".latestthreads").load("http://hermolus.y0.pl/portal.php .latestthreads_portal");
    });
    </
script>
 
 
<table class="tborder" border="0" cellpadding="0" cellspacing="0">
<
tbody><tr>
<
td class="thead">
<
div class="float_left"><strong>Latest activity</strong></div
</
td>
</
tr>
<
tr>
<
td class="trow1">
                <
div class="latestthreads float_left"></div>
        </
td>
</
tr>
</
tbody></table>
 
 
  
<br>
 
 
  
  
  
  
  
</div
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
(13.04.2016, 18:40)Digitalius napisał(a):
<div class="forum" style="float: left; width: 76%;">

<div class="side" style="float: right; width: 24%;">

Twoje Divy rozciągają się na 100% okna (76% + 24%) , a nie wiem, jak zadziałają na różnej rozdzielczości, więc pomniejsz wartość conajmniej o 1% lub 2.

Zrobiłem to co mówiłeś i nic.

Nadal ten problem zrobiłem wszystko co mówicie i nadal on jest.



Użytkownicy przeglądający ten wątek:

1 gości