Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/development'
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimp2t committed Feb 27, 2017
2 parents d7cb7fc + 1488fac commit ec8d94a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions assets/sass/_sections.scss
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,9 @@
br {
margin-bottom: 5px;
}
label {
width: 100%;
}
}

div.wpcf7-validation-errors {
Expand Down
8 changes: 5 additions & 3 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,13 +732,15 @@ function onepress_get_social_profiles()
// If icon isset
$icons = array();
$array[$k]['icon'] = trim($array[$k]['icon']);
if ($array[$k]['icon'] != '' && strpos($array[$k]['icon'], 'fa-') !== 0) {
$icons['fa-' . $array[$k]['icon']] = 'fa-' . $array[$k]['icon'];

if ($array[$k]['icon'] != '' && strpos($array[$k]['icon'], 'fa') !== 0) {
$icons[$array[$k]['icon']] = 'fa-' . $array[$k]['icon'];
} else {
$icons[$array[$k]['icon']] = $array[$k]['icon'];
}

$network = ($array[$k]['network']) ? sanitize_title($array[$k]['network']) : false;
if ($network) {
if ( $network && ! $array[$k]['icon'] ) {
$icons['fa-' . $network] = 'fa-' . $network;
}

Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3019,6 +3019,10 @@ section > .customize-partial-edit-shortcut button {
margin-bottom: 5px;
}

.wpcf7-form label {
width: 100%;
}

div.wpcf7-validation-errors {
margin: 20px 0px;
padding: 15px;
Expand Down

0 comments on commit ec8d94a

Please sign in to comment.