###前提・実現したいこと
WordpressのTwenty ten というテンプレを使って作成しています。
ヘッダーをスライドショーにしたいのでMeta Sliderというプラグインを使っています。
###発生している問題・エラーメッセージ
配置自体はヘッダーの部分にあるのですが、画像自体は右へずれています。
``
エラーメッセージ
###該当のソースコード <body <?php body_class(); ?>> <div id="wrapper" class="hfeed"> <div id="header"> <div id="masthead"> <div id="branding" role="banner"> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title"> <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </<?php echo $heading_tag; ?>> <div id="site-description"><?php bloginfo( 'description' ); ?></div> <?php echo do_shortcode("[metaslider id=****]"); ?> </div><!-- #branding --> <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 --> </div><!-- #masthead --> </div><!-- #header --> <div id="main">
###試したこと
右上に配置されているdivに入っていると思ったので、新しいdivを作って配置したのですがうまくいきませんでした。
###補足情報(言語/FW/ツール等のバージョンなど)
https://github.com/WordPress/WordPress/tree/master/wp-content/themes/twentyten
回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。