[MOTION] Jak wysunąć tytuł menu na zewnątrz?
-
Hej. Chcę usunąć tytuł z menu i podnieść go trochę do góry, tak jak na zdjęciu:
Próbowałem dodać ujemny margines dla tytuły ale zjadało mi zawartośc (overflow: visible) więc to odpada.
Skórka to „motion”, dane dotyczące menu znalazłem w 3 plikach:1. style.css
#sidebar { float: left; overflow: hidden; width: 180px; font-size: 0.8em; line-height: 1.4em; font-family: Bookman Old Style; } #sidebar a { padding-left: 10px; } #sidebar ul li.boxed { background: url(/grafika/strona/menu_between_2.png); overflow: hidden; padding-bottom: 5px; margin-bottom: 0px; } #sidebar h3 { background: url(http://eresa.pl/grafika/strona/menu_header_2.png); background-repeat: no-repeat; width: 180px; height: 35px; font-size: 15px; font-weight: bold; text-align: center; color: #FFA500; padding: 8px 0 0 0; } #sidebar ul ul li { padding: 0 10px 0 0px; } #sidebar ul ul li a { background: url(images/bullet1.png) left 7px no-repeat; display: block; padding: 0 10px 0px 10px; margin-left: 10px; } #sidebar ul ul li a:hover, #sidebar p a:hover { text-shadow: 0px 0px 7px #FFA500; color: #FFA500; padding-left: 10px; } #sidebar ul ul ul li { line-height: 1.5em; padding: 0 0 0 3px; margin: 0 0 0 10px; } #sidebar p { color: #eee; padding: 0 5px 10px 10px; }
2. functions.php
register_sidebar( array( 'name' => 'Sidebar', 'id' => 'sidebar', 'before_widget' => '<li id="%1$s" class="boxed widget %2$s">', 'after_widget' => '</li><div class="menu_footer"></div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>' ) );
3. sidebar.php
<div id="sidebar2"> <ul> <?php if ( !dynamic_sidebar( 'sidebar2' ) ) : ?> <?php endif; ?> </ul> </div><!-- /sidebar2 -->
Skórka MOTION. Znacie rozwiązanie?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- Temat ‘[MOTION] Jak wysunąć tytuł menu na zewnątrz?’ jest zamknięty na nowe odpowiedzi.