Wsparcie » Motywy » Ustawienie wysokości widgetu

  • Chce ustawić stałą wysokość widgetu tak, żeby kolejny nie był od razu pod nim, a troche niżej. Coś mi się o uszy obiło, że trzeba ustawić kontener widgetu, tylko jak to zrobić?

    Tak wygląda piki sidebar.php

    <?php if(theme_has_layout_part("left_sidebar")) : ?>
    <?php
    $places = theme_get_sidebar_places('default');
    $count_widgets = array_sum(array_map('count', $places));
    if($count_widgets > 0) {
    ?>
    <div class="art-layout-cell art-sidebar1 clearfix">
    <?php
    	theme_print_sidebar('default', $places);
    ?>
    
                            </div><?php
    }
    ?>
    <?php endif; ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • Temat ‘Ustawienie wysokości widgetu’ jest zamknięty na nowe odpowiedzi.