Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View seriiserii825's full-sized avatar

Burduja Sergiu seriiserii825

  • Bludelego
  • Moldova. Chishinau
View GitHub Profile
let testimonialEgualHeight = function () {
let itemHeight = 0;
$('#ts-testimonial-static .testimonial-item-single').each(function () {
if ($(this).height() > itemHeight) {
itemHeight = $(this).height();
}
});
$('#ts-testimonial-static .testimonial-item-single').each(function () {
.footer-form textarea::-webkit-input-placeholder { color: white }
.footer-form textarea:-ms-input-placeholder { color: white }
.footer-form textarea::-ms-input-placeholder { color: white }
.footer-form textarea::placeholder { color: white }
let removeWelcome = function(){
$('.single-menu').contents().filter(function(){
return (this.nodeType == 3);
}).remove();
};
removeWelcome();
<div class="sandwitch">
<div class="sandwitch__line sandwitch__line--top"></div>
<div class="sandwitch__line sandwitch__line--middle"></div>
<div class="sandwitch__line sandwitch__line--bottom"></div>
</div>
.sandwitch
.sandwitch__line.sandwitch__line--top
.sandwitch__line.sandwitch__line--middle
.sandwitch__line.sandwitch__line--bottom
<div class="wpglobus-lang">
<div class="list">
<a href="http://prodinfo.myihor.ru/" class="wpglobus-selector-link wpglobus-current-language">
<img src="http://prodinfo.myihor.ru/wp-content/plugins/wpglobus/flags/ro.png" alt="">
<span class="name">Română</span>
<span class="code">RO</span>
</a>
<a href="http://prodinfo.myihor.ru/ru/"
class="wpglobus-selector-link ">
<img
@seriiserii825
seriiserii825 / menu
Last active August 7, 2019 13:48
menu open
var showMainMenu = function(){
$('.main-menu li').hover(function(){
$(this).children('ul').stop(true, true).slideDown(500);
},function(){
$(this).children('ul').stop(true, true).delay(50).slideUp(500);
});
};
showMainMenu();
@seriiserii825
seriiserii825 / style.css
Created July 31, 2019 14:51
pagination styles
.nav-links {
margin-left: 30px;
}
.nav-links .page-numbers {
display: inline-flex;
justify-content: center;
align-items: center;
width: 20px;
height: 20px;
text-decoration: none;
@seriiserii825
seriiserii825 / slick.css
Last active August 13, 2019 10:20
slick arrows styles
.partners-slider-wrap
.slider-arrow.slider-arrow--left
img(src="assets/i/svg/left-arrow.svg")
.slider-arrow.slider-arrow--right
img(src="assets/i/svg/right-arrow.svg")
let partnersSlider = function () {
$('#js-partners-slider').slick({
dots: true,
arrows: false,
<?php
if( ! defined('ABSPATH') ) exit;
add_action('init', 'my_custom_init');
function my_custom_init(){
register_post_type('book', array(
'labels' => array(
'name' => __('Slider', 'bs-diona'), // Основное название типа записи
'singular_name' => __('Slider', 'bs-diona'), // отдельное название записи типа Book
{
"labels": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<>.,+-/",
}