input[type="text"]::-webkit-input-placeholder { color: red; }
input[type="text"]::-moz-placeholder { color: red; }
input[type="text"]::-webkit-input-placeholder {color:red;}
input[type="text"]::-moz-placeholder {color:red;}/* Firefox 19+ */
input[type="text"]:-moz-placeholder {color:red;}/* Firefox 18- */
input[type="text"]:-ms-input-placeholder {color:red;}
<?php
if (ICL_LANGUAGE_CODE == 'ru') {
echo "<div class='promo-bar-content'><a href='#'><strong>Русский</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE == 'en') {
echo "<div class='promo-bar-content'><a href='#'><strong>English</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE == 'uk') {
echo "<div class='promo-bar-content'><a href='#'><strong>Українська</strong></a></div>";
} elseif (ICL_LANGUAGE_CODE=='pl') {
echo "<div class='promo-bar-content'><a href='#'><strong>Poland</strong></a></div>";
}
?>
$('.button-search').bind('click', function() {
url = $('base').attr('href') + 'index.php?route=product/search';
var search = $('input[name=\'search\']').attr('value');
if (search) {
url += '&search=' + encodeURIComponent(search);
}
location = url;
});
$('#header input[name=\'search\']').bind('keydown', function(e) {
if (e.keyCode == 13) {
url = $('base').attr('href') + 'index.php?route=product/search';
var search = $('input[name=\'search\']').attr('value');
if (search) {
url += '&search=' + encodeURIComponent(search);
}
location = url;
}
});
<script>
$(document).ready(function () {
$('.thumbnail-container-images .img-fluid').click(function () {
var imgThumb = $(this).attr('src');
var oldImg = $(this).closest('.thumbnail-container-images').find('.full_img');
oldImg.attr('src', imgThumb);
});
});
$('thumb:first').click();
</script>