Skip to content

Commit ccff7b9

Browse files
committed
initial mods for bootswatch compatibility
1 parent c1234d2 commit ccff7b9

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

searchform.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
?>
1010
<form action="<?php echo esc_url(home_url('/')); ?>" id="search_form" class="mb">
1111
<div class="input-prepend">
12-
<label title="search" for="s" class="add-on"><span class="fa fa-search fafw"></span></label> <input type="text" id="s" name="s" autocomplete="off" placeholder="Search"> <input type="hidden" value="the_search_text" name="action">
12+
<label title="search" for="s" class="add-on"></label>
13+
<input type="text" id="s" name="s" autocomplete="off" placeholder="Search" class="form-control">
14+
<input type="hidden" value="the_search_text" name="action">
1315
</div>
1416
</form>

sidebar.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
* @package multiloquent\template_parts
66
*/
77

8-
echo '<aside class="sidebar">';
8+
echo '<aside class="sidebar navbar-default">';
9+
echo '<div>';
910
get_search_form();
1011
wp_nav_menu(array(
1112
'theme_location' => 'primary-menu'
@@ -20,4 +21,5 @@
2021
if (is_active_sidebar(5)) {
2122
dynamic_sidebar(5);
2223
}
24+
echo '</div>';
2325
echo '</aside>';

style.css

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ html {
8989

9090
body {
9191
margin: 0;
92-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
93-
font-weight: 300;
94-
font-size: 1em;
95-
line-height: 1.6;
96-
color: #333333;
97-
background-color: #333333;
9892
padding-top: 51px;
9993
}
10094

@@ -241,11 +235,6 @@ pre:before {
241235
margin: 0 auto;
242236
}
243237

244-
.jumbotron {
245-
background: url("/wp-content/themes/multiloquent/images/jumbotron.png") no-repeat scroll 100% 100% #f8f8f8 !important;
246-
color: #676767;
247-
}
248-
249238
@media ( min-width : 768px) and (max-width: 979px) {
250239
.search-box form {
251240
margin: 0 0 0 28px !important;
@@ -1428,7 +1417,6 @@ body.rtl .sharing li {
14281417
}
14291418

14301419
.wrapper {
1431-
background: #ffffff;
14321420
transition: margin 0.2s linear 0s;
14331421
}
14341422

@@ -1477,12 +1465,11 @@ body.rtl .sharing li {
14771465
}
14781466

14791467
.sidebar .menu ul.children,.sidebar .menu ul.sub-menu {
1480-
background: #676767;
14811468
margin-left: -15px;
14821469
}
14831470

14841471
.sidebar .menu ul.children ul.children,.sidebar .menu ul.sub-menu ul.sub-menu {
1485-
background: #898989;
1472+
14861473
}
14871474

14881475
.sidebar .menu .page_item_has_children:after,.sidebar .menu .menu-item-has-children:after {

0 commit comments

Comments
 (0)