フォーラムへの返信

2件の返信を表示中 - 1 - 2件目 (全2件中)
  • トピック投稿者 Bicepper

    (@bicepper)

    gatespace様

    返信ありがとうございます。
    大変分かりやすい解説で勉強になりました。

    tecking様
    返信ありがとうございます。
    頂いたコードでclassを割り振ることができました。

    御二方には大変感謝致します。
    ありがとうございました。

    トピック投稿者 Bicepper

    (@bicepper)

    gatespace様

    早速のお返事ありがとうございます。
    実際のテンプレートですが、twentytenのheader.phpの以下の部分をそのまま使用しております。

    <div id="access" role="navigation">
    <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    <?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    </div><!-- #access -->

    グローバルメニューは、管理画面の「固定ページ」から固定ページを作成した際に出力されるリンクを使用しており、カスタムメニューからは作成していません。

    固定ページの表示オプションからcssを割り当てることは可能なのでしょうか。

2件の返信を表示中 - 1 - 2件目 (全2件中)