Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter WLJS

    (@wljs)

    To clarify I’m trying to have an image displaying on the right with the text wrapping around the image to the left

    I understand that only limited html is available so wondering if there are other alternatives

    Thanks

    Thread Starter WLJS

    (@wljs)

    Solved

    Found it under Blog posts settings

    Thread Starter WLJS

    (@wljs)

    Hi

    Thanks for your reply.

    Just confirming-is it the code below that needs to be copied and where is it best to paste it in the page-fullwidth.php template file?

    Thanks

    <?php if( get_theme_mod( ‘active_home_widget’ ) == ”) : ?>

    <div class=”home-cta” style=”background: url(<?php echo esc_url( get_theme_mod( ‘sensiblewp_new_widget_area_background’ )); ?>) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;”>
    <div class=”grid grid-pad”>

    <?php $widget_columns = get_theme_mod( ‘sensiblewp_widget_columns’ );
    if( $widget_columns != ” ) {
    switch ( $widget_columns ) {
    case ‘option1’:
    // Do nothing. all services are displayed.
    break;
    case ‘option2’:
    echo ‘<style type=”text/css”>’;
    echo ‘.sensible-home-widget-area .widget { width: 50%; float:left; padding-right: 30px; }’;
    echo ‘@media handheld, only screen and (max-width: 767px) {‘;
    echo ‘.sensible-home-widget-area .widget { width: 100%; float:none; padding-right: 0px; }’;
    echo ‘}’;
    echo ‘</style>’;
    break;
    case ‘option3’:
    echo ‘<style type=”text/css”>’;
    echo ‘.sensible-home-widget-area .widget { width: 33.33%; float:left; padding-right: 30px; }’;
    echo ‘@media handheld, only screen and (max-width: 767px) {‘;
    echo ‘.sensible-home-widget-area .widget { width: 100%; float:none; padding-right: 0px; }’;
    echo ‘}’;
    echo ‘</style>’;
    break;
    case ‘option4’:
    echo ‘<style type=”text/css”>’;
    echo ‘.sensible-home-widget-area .widget { width: 25%; float:left; padding-right: 30px; }’;
    echo ‘@media handheld, only screen and (max-width: 767px) {‘;
    echo ‘.sensible-home-widget-area .widget { width: 100%; float:none; padding-right: 0px; }’;
    echo ‘}’;
    echo ‘</style>’;
    break;
    }
    } ?>

    <div class=”sensible-home-widget-area”>

    <div class=”col-1-1″>

    <?php if ( get_theme_mod( ‘home_widget_icon’ ) ) : ?>

    <i class=”fa <?php echo esc_html( get_theme_mod( ‘home_widget_icon’ )); ?>”></i>

    <?php endif; ?>

    </div><!– col-1-1 –>

    <div class=”col-1-1″>

    <?php if ( is_active_sidebar(‘home-widget’) ) : ?>

    <?php dynamic_sidebar(‘home-widget’); ?>

    <?php endif; ?>

    </div><!– col-1-1 –>

    <div class=”col-1-1″>

    <?php if ( get_theme_mod( ‘sensiblewp_widget_button_url’ ) ) : ?>
    “>
    <?php if ( get_theme_mod( ‘sensiblewp_widget_button_text’ ) ) : ?>
    <button class=”outline white”><?php echo esc_html( get_theme_mod( ‘sensiblewp_widget_button_text’ )); ?></button>
    <?php endif; ?>

    <?php endif; ?>

    </div><!– col-1-1 –>

    </div><!– sensible-home-widget-area –>

    Thread Starter WLJS

    (@wljs)

    Sorted

    In the js folder open business-custom and adjust autoplaySpeed

    Thread Starter WLJS

    (@wljs)

    Thanks for that.

    Looks great on screens below 17inch screen but am still getting the white borders on a 17 and above? Any solutions?

    Rated 5*

Viewing 5 replies - 1 through 5 (of 5 total)