communi3
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Static image for videoPerfect, but How can I change this?
Thank’sForum: Plugins
In reply to: [Page Builder by SiteOrigin] Center PortfolioI’m sorry, is “PROYECTOS” and “OTROS PROYECTOS” I would like 3 or 4 columns centered, not 2 columns.
Thank’sForum: Plugins
In reply to: [TC Custom JavaScript] Changes don’t work on my pageThanks. I’ve put the same code to TC Custom JavaScript:
(function($){if ( matchMedia( ‘only screen and (min-width: 768px)’ ).matches ) {
$(‘.roll-project’).each(function(){
var projItem = $(this).find(‘.project-item ‘);
var itemCount = projItem.size();
var itemWidthTotal = projItem.outerWidth()*itemCount;
var visibleSpace = $(this).outerWidth()-itemWidthTotal;if(itemCount < 5 && itemWidthTotal < $(this).width()){
$(this).css({
max-width: 480px;
margin-left: auto;
margin-right: auto;
‘margin-left’: visibleSpace/2+’px’
});}
});
}
})(jQuery);
———AND I ADD THIS CSS———————-
@media only screen and (max-width: 768px){
.panel-grid-cell {
display: table-cell;
vertical-align: middle;
padding-left: 10px;
padding-right: 10px;
}
}@media only screen and (min-width:768px){
.project-wrap{
max-width: 480px;
margin-left: auto;
margin-right: auto;
}.roll-project.fullwidth .project-item {
width: 50%;
}}
————–THE RESULT IN PROJECTS IS———————–
http://rfserveis.com/
I don’t want 2 columns in pc and tablet because the margin is really big.Thanks
Forum: Plugins
In reply to: [TC Custom JavaScript] Changes don’t work on my pageThank’s for your answer. But don’t work. I want to center the results when I click on every buttons (‘Escaleras’, ‘Barandillas’) When I have all the results is not a problem, but when I select one Button I have a lot of margin right.
Thank’s