質問編集履歴

2

htmlのソースを追加しました

2021/06/04 07:21

投稿

ttpk
ttpk

スコア338

test CHANGED
File without changes
test CHANGED
@@ -460,6 +460,210 @@
460
460
 
461
461
 
462
462
 
463
+ ```html
464
+
465
+ <!-- content-menu開始 -->
466
+
467
+ <!-- メニュー -->
468
+
469
+ <header class="site-width">
470
+
471
+ <h1><a href="http://localhost:8888/wordpress2"><img src=""class="img-responsive" alt="shopGuide"></a></h1>
472
+
473
+ <nav id="top-nav">
474
+
475
+ <ul><li id="menu-item-114" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-114"><a href="http://localhost:8888/wordpress2/%e5%ba%97%e8%88%97%e4%b8%80%e8%a6%a7/">店舗一覧</a></li>
476
+
477
+ <li id="menu-item-115" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-115"><a href="http://localhost:8888/wordpress2/%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/">メニュー</a></li>
478
+
479
+ <li id="menu-item-122" class="menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item menu-item-122"><a href="http://localhost:8888/wordpress2/category/%e6%9c%aa%e5%88%86%e9%a1%9e/" aria-current="page">ブログページ</a></li>
480
+
481
+ </ul> </nav>
482
+
483
+ </header>
484
+
485
+
486
+
487
+ <!-- blog_list -->
488
+
489
+ <main id="main">
490
+
491
+ <div class="blog-corner">
492
+
493
+ <h1 class="title">ブログページ</h1>
494
+
495
+
496
+
497
+ <article class="article-item">
498
+
499
+ <h1 class="article-title"><a href="http://localhost:8888/wordpress2/2021/05/26/%e5%a4%8f%e3%81%ae%e6%96%b0%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/" class="article-link">夏の新メニュー</a></h1>
500
+
501
+
502
+
503
+ <p class="article-body">
504
+
505
+ 冷やし中華始めました </p>
506
+
507
+ </article>
508
+
509
+
510
+
511
+
512
+
513
+ <article class="article-item">
514
+
515
+ <h1 class="article-title"><a href="http://localhost:8888/wordpress2/2021/04/22/%e6%98%a5%e3%81%ae%e6%96%b0%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/" class="article-link">春の新メニュー</a></h1>
516
+
517
+
518
+
519
+ <p class="article-body">
520
+
521
+ 筍ご飯が4月14日から登場です! </p>
522
+
523
+ </article>
524
+
525
+
526
+
527
+
528
+
529
+ <article class="article-item">
530
+
531
+ <h1 class="article-title"><a href="http://localhost:8888/wordpress2/2021/04/18/%e8%94%93%e5%bb%b6%e9%98%b2%e6%ad%a2%e7%ad%96%e5%ae%9f%e6%96%bd%e4%b8%ad%e3%81%ae%e5%96%b6%e6%a5%ad%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/" class="article-link">蔓延防止策実施中の営業について</a></h1>
532
+
533
+
534
+
535
+ <p class="article-body">
536
+
537
+ 蔓延防止策実施中は20時までの営業とさせていただきます。(ラストオーダー19時半) </p>
538
+
539
+ </article>
540
+
541
+
542
+
543
+
544
+
545
+ <article class="article-item">
546
+
547
+ <h1 class="article-title"><a href="http://localhost:8888/wordpress2/2021/04/18/%e7%b7%8a%e6%80%a5%e4%ba%8b%e6%85%8b%e5%ae%a3%e8%a8%80%e4%b8%ad%e3%81%ae%e5%96%b6%e6%a5%ad%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/" class="article-link">緊急事態宣言中の営業について</a></h1>
548
+
549
+
550
+
551
+ <p class="article-body">
552
+
553
+ 緊急事態宣言中は全店休業とさせていただきます </p>
554
+
555
+ </article>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+ <ul class="sidebar">
564
+
565
+ <div class="sidebar-wrapper"><form role="search" method="get" id="searchform" class="searchform" action="http://localhost:8888/wordpress2/">
566
+
567
+ <div>
568
+
569
+ <label class="screen-reader-text" for="s">検索:</label>
570
+
571
+ <input type="text" value="" name="s" id="s" />
572
+
573
+ <input type="submit" id="searchsubmit" value="検索" />
574
+
575
+ </div>
576
+
577
+ </form></div>
578
+
579
+ <div class="sidebar-wrapper">
580
+
581
+ <h4 class="sidebar-title">最近の投稿</h4>
582
+
583
+ <ul>
584
+
585
+ <li>
586
+
587
+ <a href="http://localhost:8888/wordpress2/2021/05/26/%e5%a4%8f%e3%81%ae%e6%96%b0%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/">夏の新メニュー</a>
588
+
589
+ </li>
590
+
591
+ <li>
592
+
593
+ <a href="http://localhost:8888/wordpress2/2021/04/22/%e6%98%a5%e3%81%ae%e6%96%b0%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/">春の新メニュー</a>
594
+
595
+ </li>
596
+
597
+ <li>
598
+
599
+ <a href="http://localhost:8888/wordpress2/2021/04/18/%e8%94%93%e5%bb%b6%e9%98%b2%e6%ad%a2%e7%ad%96%e5%ae%9f%e6%96%bd%e4%b8%ad%e3%81%ae%e5%96%b6%e6%a5%ad%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/">蔓延防止策実施中の営業について</a>
600
+
601
+ </li>
602
+
603
+ <li>
604
+
605
+ <a href="http://localhost:8888/wordpress2/2021/04/18/%e7%b7%8a%e6%80%a5%e4%ba%8b%e6%85%8b%e5%ae%a3%e8%a8%80%e4%b8%ad%e3%81%ae%e5%96%b6%e6%a5%ad%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/">緊急事態宣言中の営業について</a>
606
+
607
+ </li>
608
+
609
+ </ul>
610
+
611
+
612
+
613
+ </div><div class="sidebar-wrapper"><h4 class="sidebar-title">最近のコメント</h4><ul id="recentcomments"></ul></div><div class="sidebar-wrapper"><h4 class="sidebar-title">アーカイブ</h4>
614
+
615
+ <ul>
616
+
617
+ <li><a href='http://localhost:8888/wordpress2/2021/05/'>2021年5月</a></li>
618
+
619
+ <li><a href='http://localhost:8888/wordpress2/2021/04/'>2021年4月</a></li>
620
+
621
+ </ul>
622
+
623
+
624
+
625
+ </div><div class="sidebar-wrapper"><h4 class="sidebar-title">カテゴリー</h4>
626
+
627
+ <ul>
628
+
629
+ <li class="cat-item cat-item-4"><a href="http://localhost:8888/wordpress2/category/%e5%96%b6%e6%a5%ad%e6%97%a5%e3%81%ae%e3%81%8a%e7%9f%a5%e3%82%89%e3%81%9b/">営業日のお知らせ</a>
630
+
631
+ </li>
632
+
633
+ <li class="cat-item cat-item-5"><a href="http://localhost:8888/wordpress2/category/%e6%96%b0%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc/">新メニュー</a>
634
+
635
+ </li>
636
+
637
+ </ul>
638
+
639
+
640
+
641
+ </div> </ul>
642
+
643
+
644
+
645
+ </div>
646
+
647
+
648
+
649
+
650
+
651
+ </main>
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+ <footer>
660
+
661
+ ©️a-z since 2001 </footer>
662
+
663
+ ```
664
+
665
+
666
+
463
667
  ![イメージ説明](94d27501a574b9951b667898b0962e6d.png)
464
668
 
465
669
 

1

試したことを一つ追加しました

2021/06/04 07:20

投稿

ttpk
ttpk

スコア338

test CHANGED
File without changes
test CHANGED
@@ -30,6 +30,12 @@
30
30
 
31
31
 
32
32
 
33
+ 三つ目
34
+
35
+ <ul class="sidebar">の部分を<div class="blog-corner">内に入れてみましたが状況は変わりませんでした。
36
+
37
+
38
+
33
39
  メインのコンテンツが表示された後にサイドバーが表示される現象を解消する方法があればご教示いただきたいです。
34
40
 
35
41