Support » Theme: Firmness » Changing height of Image Slider

Viewing 1 replies (of 1 total)
  • If you go to APPEARANCE > CUSTOMIZE > FIRMNESS THEME OPTIONS > Choose the THEME IMAGE SLIDER SETTINGS.

    At the top there is a “Image Slider Height (px)” setting. It looks like it is an absolute setting so it will keep that height(px) no matter what.

    Which, is the problem I am having:
    Is there any simple way to make this slider “mobile responsive”?
    I found in the “firmness-customizer.php” file this highlighted area where it determines height – it looks like only an absolute size is what it is doing (px) – is there any way to set this to “auto” so it will automatically resize the height to fit a mobile browser?

    /**
    * Image Slider
    */
    if ( $slider_height )
    $output .= ‘.da-slider { height:’ . $slider_height . ‘px;}’ . “\n”;

    if ( $captions_title_color )
    $output .= ‘.da-slider .da-slide-wrap h2, .flexslider .post-title h2 { color:’ . $captions_title_color . ‘}’ . “\n”;

    if ( $captions_text_color )
    $output .= ‘.da-slider .da-slide-wrap p, .flexslider .posts-featured-details-wrapper div p { color: ‘ . $captions_text_color . ‘}’ . “\n”;……

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing height of Image Slider’ is closed to new replies.