sss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
7 changed files
with
47 additions
and
15 deletions
| ... | @@ -15464,6 +15464,28 @@ p.intro { | ... | @@ -15464,6 +15464,28 @@ p.intro { |
| 15464 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.828' height='22.828' viewBox='0 0 22.828 22.828'%3E%3Cg id='btn_close_modal' data-name='btn_close modal' transform='translate(1.414 1.414)'%3E%3Cline id='Line_14' data-name='Line 14' x2='28.284' transform='translate(0) rotate(45)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_15' data-name='Line 15' x2='28.284' transform='translate(20 0) rotate(135)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | 15464 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.828' height='22.828' viewBox='0 0 22.828 22.828'%3E%3Cg id='btn_close_modal' data-name='btn_close modal' transform='translate(1.414 1.414)'%3E%3Cline id='Line_14' data-name='Line 14' x2='28.284' transform='translate(0) rotate(45)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_15' data-name='Line 15' x2='28.284' transform='translate(20 0) rotate(135)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); |
| 15465 | } | 15465 | } |
| 15466 | 15466 | ||
| 15467 | .contest_cap { | ||
| 15468 | color: #fff; | ||
| 15469 | font-size: 20px; | ||
| 15470 | margin-top: -40px; | ||
| 15471 | margin-left: 20px; | ||
| 15472 | } | ||
| 15473 | |||
| 15474 | .contest_name { | ||
| 15475 | color: #fff; | ||
| 15476 | font-size: 20px; | ||
| 15477 | top: 40px; | ||
| 15478 | position: relative; | ||
| 15479 | margin-left: 20px; | ||
| 15480 | } | ||
| 15481 | |||
| 15482 | .body-content { | ||
| 15483 | margin: auto; | ||
| 15484 | width: auto; | ||
| 15485 | text-align: center; | ||
| 15486 | padding: 20px; | ||
| 15487 | } | ||
| 15488 | |||
| 15467 | .um input[type=submit].um-button, .um input[type=submit].um-button:focus, .um a.um-button { | 15489 | .um input[type=submit].um-button, .um input[type=submit].um-button:focus, .um a.um-button { |
| 15468 | text-transform: uppercase !important; | 15490 | text-transform: uppercase !important; |
| 15469 | background-color: #183668 !important; | 15491 | background-color: #183668 !important; | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -48,6 +48,7 @@ function contest_slider(){ | ... | @@ -48,6 +48,7 @@ function contest_slider(){ |
| 48 | <?php while ($custom_query->have_posts()): $custom_query->the_post(); ?> | 48 | <?php while ($custom_query->have_posts()): $custom_query->the_post(); ?> |
| 49 | <?php $image = get_post_meta(get_the_ID(), '_field_9', true ); | 49 | <?php $image = get_post_meta(get_the_ID(), '_field_9', true ); |
| 50 | $num = get_post_meta(get_the_ID(), '_seq_num', true ); | 50 | $num = get_post_meta(get_the_ID(), '_seq_num', true ); |
| 51 | $name = get_post_meta(get_the_ID(), '_field_5', true ); | ||
| 51 | $cap = get_post_meta(get_the_ID(), '_field_7', true ); | 52 | $cap = get_post_meta(get_the_ID(), '_field_7', true ); |
| 52 | ?> | 53 | ?> |
| 53 | <div class="modal fade" id="Modal_<?php echo $num;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> | 54 | <div class="modal fade" id="Modal_<?php echo $num;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> |
| ... | @@ -56,8 +57,9 @@ function contest_slider(){ | ... | @@ -56,8 +57,9 @@ function contest_slider(){ |
| 56 | <div class="modal-body"> | 57 | <div class="modal-body"> |
| 57 | <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | 58 | <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 58 | <div class="body-content"> | 59 | <div class="body-content"> |
| 60 | <div class="contest_name"><?php echo $name;?></div> | ||
| 59 | <img src="<?php echo $image[$num];?>" alt="<?php echo $cap;?>"> | 61 | <img src="<?php echo $image[$num];?>" alt="<?php echo $cap;?>"> |
| 60 | <div class="contest_cap"><?php echo $cap;?> like you live here</div> | 62 | <div class="contest_cap"><?php echo $cap;?> </div> |
| 61 | </div> | 63 | </div> |
| 62 | </div> | 64 | </div> |
| 63 | </div> | 65 | </div> |
| ... | @@ -117,19 +119,7 @@ function contest_slider(){ | ... | @@ -117,19 +119,7 @@ function contest_slider(){ |
| 117 | font-size: 20px; | 119 | font-size: 20px; |
| 118 | color:#fff; | 120 | color:#fff; |
| 119 | } | 121 | } |
| 120 | .contest_cap{ | 122 | |
| 121 | color:#fff; | ||
| 122 | font-size:20px; | ||
| 123 | margin-top:-40px; | ||
| 124 | margin-left:20px; | ||
| 125 | |||
| 126 | } | ||
| 127 | .body-content { | ||
| 128 | margin: auto; | ||
| 129 | width: auto; | ||
| 130 | text-align: center; | ||
| 131 | padding: 20px; | ||
| 132 | } | ||
| 133 | 123 | ||
| 134 | </style> | 124 | </style> |
| 135 | 125 | ... | ... |
| ... | @@ -122,4 +122,24 @@ p{ | ... | @@ -122,4 +122,24 @@ p{ |
| 122 | width: 20px; | 122 | width: 20px; |
| 123 | height: 20px; | 123 | height: 20px; |
| 124 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.828' height='22.828' viewBox='0 0 22.828 22.828'%3E%3Cg id='btn_close_modal' data-name='btn_close modal' transform='translate(1.414 1.414)'%3E%3Cline id='Line_14' data-name='Line 14' x2='28.284' transform='translate(0) rotate(45)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_15' data-name='Line 15' x2='28.284' transform='translate(20 0) rotate(135)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); | 124 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.828' height='22.828' viewBox='0 0 22.828 22.828'%3E%3Cg id='btn_close_modal' data-name='btn_close modal' transform='translate(1.414 1.414)'%3E%3Cline id='Line_14' data-name='Line 14' x2='28.284' transform='translate(0) rotate(45)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_15' data-name='Line 15' x2='28.284' transform='translate(20 0) rotate(135)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); |
| 125 | } | ||
| 126 | |||
| 127 | .contest_cap{ | ||
| 128 | color:#fff; | ||
| 129 | font-size:20px; | ||
| 130 | margin-top:-40px; | ||
| 131 | margin-left:20px; | ||
| 132 | } | ||
| 133 | .contest_name{ | ||
| 134 | color:#fff; | ||
| 135 | font-size:20px; | ||
| 136 | top:40px; | ||
| 137 | position: relative; | ||
| 138 | margin-left:20px; | ||
| 139 | } | ||
| 140 | .body-content { | ||
| 141 | margin: auto; | ||
| 142 | width: auto; | ||
| 143 | text-align: center; | ||
| 144 | padding: 20px; | ||
| 125 | } | 145 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.2.0043 | 8 | Version: 1.2.0044 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment