Hola,
Estoy trabajando con Wordpress, theme akhada-fitness-proVersión: 1.0
Cuando Personalizo ▸ Home Sections Our Trainers, noto que no respeta el diseño responsive.
En public_html/airesfitness/wp-content/themes/akhada-fitness-pro/template-parts/section-team.php observo:
<?php
$showStatic = true;
$cols = get_theme_mod('lz_fitness_team_npp_count', 3);
$cols++;
switch($cols){
case 1:
$colCls = 'col-md-12 col-sm-12 col-xs-12';
break;
case 2:
$colCls = 'col-md-6 col-sm-6 col-xs-12';
break;
case 3:
$colCls = 'col-md-4 col-sm-6 col-xs-12';
break;
case 4:
$colCls = 'col-md-3 col-sm-6 col-xs-12';
break;
default:
$colCls = 'col-md-4 col-sm-6 col-xs-12';
break;
}
for( $i = 1; $i <= $cols; $i++ ){
$lz_fitness_team_page_id = get_theme_mod('lz_fitness_team_page'.$i);
$lz_fitness_team_page_icon = get_theme_mod('lz_fitness_team_page_icon'.$i);
if($lz_fitness_team_page_id){
$showStatic = false;
echo teamShortCode($lz_fitness_team_page_id, $isCustomizer=true, $i);
}
}
// adding the static content
if($showStatic === true){
for( $i = 1; $i
<div class="">
-->
<!--
-->
jQuery.noConflict();
$(function(){
function httitlewrapHeight(){
var ht = 0;
$('.ht-team-member-span').each(function(i){
var tHt = $(this).height();
if(ht<tHt){
ht=tHt;
}
});
$('.ht-team-member-span').height(ht+'px');
}
httitlewrapHeight();
});
$( window ).resize(function(){
httitlewrapHeight();
});
<?php }
Agradeceré orientación.
URL del sitio: Contenido solo visible a usuarios registrados
Hola Adrián.
Añade lo siguiente al archivo style.css que encontrarás en wp-content -> themes -> akhada-fitness-pro -> style.css
@media screen and (max-width: 760px) { .col-xs-6 { width:100%; } }
Un saludo
Hola Pepe,
Conflicto solucionado. Muchas gracias por el asesoramiento!!