Browse code

No longer use headline tag for heading

Benjamin Roth authored on04/07/2018 10:16:40
Showing2 changed files
... ...
@@ -490,7 +490,7 @@
490 490
 }
491 491
 
492 492
 .cp-dialog .cp-inside,
493
-.cp-dialog .cp-header h1 {
493
+.cp-dialog .cp-headline {
494 494
 	max-width: 100%;
495 495
 	width: 900px;
496 496
 	margin: 0 auto;
... ...
@@ -512,10 +512,11 @@
512 512
 	border-bottom: 2px solid #414141;
513 513
 	background-color: #999;
514 514
 }
515
-.cp-dialog .cp-header h1 {
515
+.cp-dialog .cp-headline {
516 516
 	line-height: 2;
517 517
 	font-size: 125%;
518 518
 	text-transform: uppercase;
519
+	display: block;
519 520
 }
520 521
 
521 522
 .cp-dialog .cp-content h1, .cp-dialog .cp-content h2, .cp-dialog .cp-content h3, .cp-dialog .cp-content h4, .cp-dialog .cp-content h5, .cp-dialog .cp-content h6, .cp-dialog .cp-content p, .cp-dialog .cp-content ul, .cp-dialog .cp-content li {
... ...
@@ -2,7 +2,7 @@
2 2
 <div class="cp-content">
3 3
 <div class="cp-inside">
4 4
 	<form class="cp-dialog-form">
5
-		<div class="cp-header"><h1><?php echo $this->title; ?></h1></div>
5
+		<div class="cp-header"><span class="cp-headline"><?php echo $this->title; ?></span></div>
6 6
 		<div class="cp-dialog-message">
7 7
 			<?php echo $this->text; ?>
8 8
 		</div>