Changes don’t work on my page
-
I’ve installed TC Custom JavaScript with the following code:
(function($){if ( matchMedia( ‘only screen and (min-width: 700px)’ ).matches ) {
$(‘.roll-project’).each(function(){
var projItem = $(this).find(‘.project-item ‘);
var itemCount = projItem.size();
var itemWidthTotal = projItem.width()*itemCount;
var visibleSpace = $(this).width()-itemWidthTotal;if(itemCount < 5 && itemWidthTotal < $(this).width()){
$(this).css({
‘margin-left’: visibleSpace/2+’px’
});}
});
}
})(jQuery);
I’m using template Sydney and my wordpress version is 4.9.4–es_ES
I can work with the plugin but changes not work. I want put on the middle the images when I’m on ‘PROYECTOS’ and I click on ‘-Escaleras-‘ or ‘Barandillas’
ThanksThe page I need help with: [log in to see the link]
- The topic ‘Changes don’t work on my page’ is closed to new replies.