Дизайн

Добрый день, у меня вот такая проблема :

Товары стоят не так как надо ! 1 ряд хорошо а вот последующие почему то не так! Мне нужно исправить данную ошибку чтобы было вот так :

Помогите мне исправить данную ошибку . Мне нужно сделать это в ближайшее время

Дизайн :

7 ответов

  • 1
    Эрик Webasyst 16 сентября 2015 07:09 #

    Проверьте краткое описание товара, на котором происходит разрыв (либо товара после него). Видимо, в нем некорректный html-код.

  • 1
    Константин Вергунов 16 сентября 2015 21:34 #

    Вот , что тут нужно изменить ?

    <!DOCTYPE html>


    {$html_class_array = []}

    {$_color_scheme_class = 'color_scheme_'|cat:str_replace('img/themesettings/','',str_replace('.png','',$theme_settings.color_scheme))}


    {if $theme_settings.color_scheme}{$html_class_array[] = $_color_scheme_class}{/if}

    {if $theme_settings.font_size}{$html_class_array[] = $theme_settings.font_size}{/if}

    {if $theme_settings.font_family}{$html_class_array[] = $theme_settings.font_family}{/if}

    {if $wa->globals('isMyAccount')}{$html_class_array[] = 'my'}{/if}


    <html{if !empty($html_class_array)} class="{join(' ', $html_class_array)}"{/if}>


    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <meta name="viewport" content="width=device-width, initial-scale=1{if $wa->isMobile()}, maximum-scale=1, user-scalable=0{/if}" />


    <title>{$wa->title()|escape}</title>

    <meta name="Keywords" content="{$wa->meta('keywords')|escape}" />

    <meta name="Description" content="{$wa->meta('description')|escape}" />

    {if !empty($canonical)}<link rel="canonical" href="{$canonical}"/>{/if}

    <link rel="shortcut icon" href="/favicon.ico"/>

    {if $wa->blog}

    <!-- rss -->

    {$rss=$wa->blog->rssUrl()}

    {if $rss}<link rel="alternate" type="application/rss+xml" title="{$wa->accountName()}" href="{$rss}">{/if}

    {/if}

    <!-- css -->

    <link href="{$wa_theme_url}default.css?v{$wa_theme_version}" rel="stylesheet" type="text/css"/>

    {if $wa->shop && $wa->shop->currency() == 'RUB'}<link href="{$wa_url}wa-content/font/ruble/arial/fontface.css" rel="stylesheet" type="text/css">{/if}

    {$wa->css()} {* links active plugins CSS *}

    <!-- js -->

    <script type="text/javascript" src="{$wa_static_url}wa-content/js/jquery/jquery-1.11.1.min.js" ></script>

    <script type="text/javascript" src="{$wa_static_url}wa-content/js/jquery/jquery-migrate-1.2.1.min.js"></script>

    <script type="text/javascript" src="{$wa_theme_url}default.js?v{$wa_theme_version}"></script>


    {$wa->js()} {* links active plugins JS *}

    {include file="`$wa_active_theme_path`/head.html" inline}

    {$wa->head()} {* links Google Analytics tracking code, site's custom JS (defined in Site app settings), and meta data such as Open Graph data *}

    <!--[if lt IE 9]>

    <script>

    document.createElement('header');

    document.createElement('nav');

    document.createElement('section');

    document.createElement('article');

    document.createElement('aside');

    document.createElement('footer');

    document.createElement('figure');

    document.createElement('hgroup');

    document.createElement('menu');

    </script>

    <![endif]-->

    </head>

    <body>

    <header class="globalheader"{if $theme_settings.color_custom} style="background: {$theme_settings.color_custom}"{/if}>

    {if count($wa->apps())>0 || $wa->isAuthEnabled()}

    <!-- GLOBAL NAVIGATION -->

    <div id="globalnav" class="{if $theme_settings.header_scheme|strstr:'white'}light{/if}">

    <div class="container">

    <h2>

    <a href="{$wa_url}">

    {if $theme_settings.logo}

    <img src="{$wa_theme_url}{$theme_settings.logo}?v{$wa_theme_version}" alt="{$wa->accountName()}" id="logo" />

    <span>{$wa->accountName()}</span>

    {else}

    {$wa->accountName()}

    {/if}

    </a>

    </h2>

    <button id="mobile-nav-toggle"><!-- nav toggle for mobile devices --></button>

    <nav>

    {if $wa->isAuthEnabled()}

    <!-- user auth -->

    <ul class="auth">

    {if $wa->user()->isAuth()}

    {if $wa->myUrl()}

    <li{if $wa->globals('isMyAccount')} class="bold"{/if}>

    <a href="{$wa->myUrl()}" class="not-visited"><i class="icon16 userpic20 float-left" style="background-image: url('{$wa->user()->getPhoto2x(20)}');"></i> <strong>{$wa->user('firstname')|default:'[`My account`]'}</strong></a>

    </li>

    {else}

    <li><strong>{$wa->user('firstname')|default:'[`My account`]'}</strong></li>

    {/if}

    <li><a href="?logout" class="not-visited">[s`Log out`]</a></li>

    {else}

    <li><a href="{$wa->loginUrl()}" class="not-visited">[s`Log in`]</a></li>

    <li><a href="{$wa->signupUrl()}" class="not-visited">[s`Sign up`]</a></li>

    {/if}

    </ul>

    {/if}

    {if $wa->shop}

    <!-- cart -->

    {$cart_total = $wa->shop->cart->total()}

    <div id="cart" class="cart{if !$cart_total} empty{/if}">

    <a href="{$wa->getUrl('shop/frontend/cart')}" class="cart-summary">

    <i class="cart-icon"></i>

    <strong class="cart-total">{wa_currency_html($cart_total, $wa->shop->currency())}</strong>

    </a>

    <div id="cart-content">

    {* <div class="cart-just-added">

    %s is now in your shopping cart

    </div> *}

    </div>

    <a href="{$wa->getUrl('shop/frontend/cart')}" class="cart-to-checkout" style="display: none;">

    [s`View cart`]

    </a>

    </div>

    {/if}

    <!-- core site sections (apps) -->

    <ul class="apps">

    {$_links = []}

    {if $theme_settings.header_links == 'site-pages'}

    {if $wa->site}{$_links = $wa->site->pages()}{/if}

    {elseif $theme_settings.header_links == 'shop-pages'}

    {if $wa->shop}{$_links = $wa->shop->pages()}{/if}

    {elseif $theme_settings.header_links == 'blog-pages'}

    {if $wa->blog}{$_links = $wa->blog->pages()}{/if}

    {elseif $theme_settings.header_links == 'photos-pages'}

    {if $wa->photos}{$_links = $wa->photos->pages()}{/if}

    {elseif $theme_settings.header_links == 'hub-pages'}

    {if $wa->hub}{$_links = $wa->hub->pages()}{/if}

    {elseif $theme_settings.header_links != 'none'}

    {$_links = $wa->apps()}

    {/if}

    {foreach $_links as $a}

    {if !($a.url == $wa_url && $a.name == $wa->accountName())}

    <li{if $a.url==$wa_app_url && !$wa->globals('isMyAccount') || strlen($a.url)>1 && $wa->currentUrl()|strstr:$a.url} class="selected"{/if}><a href="{$a.url}">{$a.name}</a></li>

    {/if}

    {/foreach}

    </ul>

    </nav>

    <div class="clear-both"></div>

    </div>

    </div>

    {/if}


    <!-- APP NAVIGATION -->

    <div class="container appnav" id="header-container">

    {if $wa->globals('isMyAccount')}

    {* focused personal accounts navigation *}

    {$wa->myNav('pages')}

    {else}


    {include file="`$wa_active_theme_path`/header.html" inline}

    {/if}

    <div class="clear-both"></div>

    </div>

    </header>

    <!-- APP CONTENT -->

    <main class="maincontent">

    <div class="container">

    {include file="`$wa_active_theme_path`/main.html" inline}

    </div>

    </main>

    <!-- FOOTER -->

    <footer class="globalfooter">

    <div class="container">


    {if !empty($theme_settings.footer_links)}

    <div class="footer-block contact-us">

    <div class="social">

    {if $wa->blog && $rss}<a href="{$rss}" title="[s`RSS`]"><i class="icon24 rss"></i></a>{/if}

    {if !empty($theme_settings.facebook)}<a href="{$theme_settings.facebook}" title="[s`Facebook`]"><i class="icon24 facebook"></i></a>{/if}

    {if !empty($theme_settings.twitter)}<a href="{$theme_settings.twitter}" title="[s`Twitter`]"><i class="icon24 twitter"></i></a>{/if}

    {if !empty($theme_settings.vk)}<a href="{$theme_settings.vk}" title="[s`VK`]"><i class="icon24 vk"></i></a>{/if}

    {if !empty($theme_settings.instagram)}<a href="{$theme_settings.instagram}" title="[s`Instagram`]"><i class="icon24 instagram"></i></a>{/if}

    {if !empty($theme_settings.youtube)}<a href="{$theme_settings.youtube}" title="[s`Youtube`]"><i class="icon24 youtube"></i></a>{/if}

    </div>

    {if $wa->shop}

    <a href="mailto:{$wa->shop->settings('email')}">{$wa->shop->settings('email')}</a>

    <strong>{$wa->shop->settings('phone')}</strong>

    {/if}

    </div>

    {if $wa->shop}

    <div class="footer-block">

    <a href="{$wa->getUrl('shop/frontend')}" class="top">[s`Shop`]</a>

    <a href="{$wa->getUrl('shop/frontend/cart')}">[s`Cart`]</a>

    <a href="{$wa->getUrl('shop/frontend/checkout')}">[s`Checkout`]</a>

    </div>

    {/if}

    {if $wa->photos}

    <div class="footer-block">

    <a href="{$wa->getUrl('photos/frontend')}" class="top">[s`Photos`]</a>

    <a href="{$wa->getUrl('photos/frontend')}">[s`Photostream`]</a>

    <a href="{$wa->getUrl('photos/frontend')}favorites/">[s`Favorites`]</a>

    </div>

    {/if}

    {if $wa->blog}

    <div class="footer-block">

    <a href="{$wa->getUrl('blog/frontend')}" class="top">[s`Blog`]</a>

    <a href="{$wa->getUrl('blog/frontend/rss')}">[s`RSS`]</a>

    {$blogs = $wa->blog->blogs()}

    {foreach $blogs as $b}

    <a href="{$b.link}">{$b.name}</a>

    {/foreach}

    </div>

    {/if}

    {if $wa->mailer && $wa->getUrl('mailer/frontend/subscribe')}

    <div class="footer-block mailer-subscribe">

    <a href="#" class="top">[s`Follow us`]</a>

    <form action="{$wa->getUrl('mailer/frontend/subscribe')}" id="mailer-subscribe-form" target="mailer-subscribe-iframe">

    <input type="email" name="email" placeholder="your@email.here">

    <input type="submit" value="[s`Subscribe`]" class="small">

    </form>

    <iframe id="mailer-subscribe-iframe" name="mailer-subscribe-iframe" src="javascript:true" style="width:0;height:0;border:0px solid #666;float:right;background: #666;"></iframe>

    <p style="display:none" id="mailer-subscribe-thankyou"><i>[s`Thank you! We’ll keep you posted.`]</i></p>

    </div>

    {/if}

    {/if}

    <div class="clear-both"></div>

    {if !empty($theme_settings.footer_note)}

    <p class="hint footer-note">

    {$theme_settings.footer_note}

    </p>

    {/if}

    </div>

    <div class="container">

    <div class="appfooter">

    <div class="copyright">

    © {time()|wa_datetime:"Y"}

    <a href="{$wa_url}">{$wa->accountName()}</a>

    </div>

    {include file="`$wa_active_theme_path`/footer.html" inline}

    </div>

    </div>

    </footer>


    {* admin-only slideout sidebar for nice and smooth real time theme customizations *}

    {if $wa->user()->isAdmin()}{include file="admin-sidebar.html" inline}{/if}


    </body>

  • 2
    Непомнящий 16 сентября 2015 22:31 #

    Когда вставляете кусок кода, кнопка "Вставить блок кода" для кого? .... глаза на орбиту вылезут, пока разберешь!

  • 1
    Непомнящий 16 сентября 2015 22:35 #

    Это файл шаблона в студию....

    {include file="`$wa_active_theme_path`/main.html" inline}
  • 1
    Константин Вергунов 17 сентября 2015 12:37 #
    <!-- APP CONTENT -->
    
    <main class="maincontent">
    
    <div class="container">
    
    {include file="`$wa_active_theme_path`/main.html" inline}
    
    </div>
    
    </main>
    
    <!-- FOOTER -->
    
    <footer class="globalfooter">
    
    <div class="container">

Добавить ответ

Чтобы добавить комментарий, зарегистрируйтесь или войдите