This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.dropdown-toggle { | |
outline: none | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BootstrapNavMenuWalker extends Walker_Nav_Menu | |
{ | |
function start_lvl( &$output, $depth ) { | |
$indent = str_repeat( "\t", $depth ); | |
$submenu = ($depth > 0) ? ' sub-menu' : ''; | |
$output .= "\n$indent<ul class=\"dropdown-menu$submenu depth_$depth\">\n"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::-webkit-input-placeholder { /* WebKit browsers */ | |
color: #F00; | |
} | |
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ | |
color: #F00; | |
} | |
::-moz-placeholder { /* Mozilla Firefox 19+ */ | |
color: #F00; | |
} | |
:-ms-input-placeholder { /* Internet Explorer 10+ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$languages = icl_get_languages(); | |
foreach($languages as $l){ | |
$langs[] = '<li><a href="'.$l['url'].'">'.$l['native_name'].'</a></li>'; | |
} | |
echo join('', $langs); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.alignleft | |
{ | |
float: left; | |
margin-right: 10px; | |
margin-bottom: 10px; | |
margin-top: 10px; | |
} | |
.alignright | |
{ | |
float: right; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Desktop specific */ | |
@media (max-width: 979px) | |
{ | |
} | |
/* Large desktop */ | |
@media (min-width: 1200px) { | |
} |