igorschilinski

Рейтинг
1
Регистрация
03.03.2014
Desesperada:
igorschilinski,
в файлах вашего сайта открыть wp-content/themes/graphene/style.css и дописать туда то, что я указал выше, сохраняем и радуемся.
если не получится пишите мне в icq 7860919 помогу

Спасибо большое заь помощь, сейчас попробую

Спасибо большое! А где именно это сделать? просто я новичок.

вот нашел файл sidebar-two

<?php

/**

* The Sidebar 2 for display in the content page.

* Is only called by header.php or footer.php if the sidebar is needed, so no checking is required!

*

* @package Graphene

* @since graphene 1.0

*/

global $graphene_settings;

?>

<div id="sidebar2" <?php graphene_grid( 'sidebar', 1, 5, 4 ); ?>>

<?php do_action( 'graphene_before_sidebar2' ); ?>

<?php /* Widgetized sidebar, if supported. */

if ( ! is_front_page() && is_active_sidebar( 'sidebar-two-widget-area' ) ) { // Not home, display normal sidebar if active

dynamic_sidebar( 'sidebar-two-widget-area' );

} elseif ( is_front_page() && ! $graphene_settings['alt_home_sidebar'] && is_active_sidebar( 'sidebar-two-widget-area' ) ) { // Home, but alternate sidebar disabled, display normal sidebar if active

dynamic_sidebar( 'sidebar-two-widget-area' );

} elseif ( is_front_page() && $graphene_settings['alt_home_sidebar'] && is_active_sidebar( 'home-sidebar-two-widget-area' ) ) { // Home, alternate sidebar enabled, display alternate sidebar if active

dynamic_sidebar( 'home-sidebar-two-widget-area' );

} else {

/* Display notice to logged in users if there is no active widget in the sidebar */

if ( current_user_can( 'edit_theme_options' ) ){

if ( is_front_page() && $graphene_settings['alt_home_sidebar'] ){

$sidebar_name = __( 'Front Page Sidebar Two Widget Area', 'graphene' );

} else {

$sidebar_name = __( 'Sidebar Two Widget Area', 'graphene' );

}

graphene_sidebar_notice( $sidebar_name );

}

}

?>

<?php wp_meta(); ?>

<?php do_action( 'graphene_after_sidebar2' ); ?>

</div><!-- #sidebar2 -->

здесь надо править?

И что значит присвоить класс?

Зарание благодарен

Спасибо большое! Чтобы я без вашей помощи делал? Здорово, теперь там как надо, а то было так мелко.

Спасибо за помощь, можете уточнить, найти блок который показан на рисунке? Не понял какую строку добавить?

Зарание спасибо!