###前提・実現したいこと
wordpressのNextGEN GALLERYのプラグインを用いてギャラリーページを作成しています。一応、一列5枚のギャラリーとしては表示されるのですが、中央によっていない状況です。
ギャラリー全体を中央寄せにして、画面のサイズが変わった時にも中央で表示されるようにしたいです。初歩的な質問で恐縮ですがよろしくお願い致します。また、wordpressで他にいいgyalleryプラグイン等がありましたら教えていただきたいです。
###ソースコード
<div class="contents-area"> <h2 class="page-title">GALLERY</h2> <div class="gallery-post"><p> <div class="ngg-galleryoverview" id="ngg-gallery-360-106"> <!-- Thumbnails --> <div id="ngg-image-47" class="ngg-gallery-thumbnail-box" > <div class="ngg-gallery-thumbnail" > <a href="http://localhost:8888/wp-content/gallery//9F1A4724.jpg" title=" " class='use_imagebrowser_effect' > <img title="9F1A4724" alt="9F1A4724" src="http://localhost:8888/wp-content/gallery//thumbs/thumbs_9F1A4724.jpg" width='200' height='130' /> </a> </div> </div> <div id="ngg-image-48" class="ngg-gallery-thumbnail-box" > <div class="ngg-gallery-thumbnail" > <a href="http://localhost:8888/wp-content/gallery/IMG_3061_Fotor.jpg" title=" " class='use_imagebrowser_effect' > <img title="IMG_3061_Fotor" alt="IMG_3061_Fotor" src="http://localhost:8888/wp-content/gallery/thumbs/thumbs_IMG_3061_Fotor.jpg" width='200' height='130' /> </a> </div> <!--...省略...--> </p> </div> </div>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/04/21 07:45