badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

TH Services with 4 elements pet line

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42371
    Kim
    Participant

    It’s possible to have 4 elements for line instead of 3? How can I do this?
    Thanks

    #42415

    Hi Kim,

    This feature is not available in our theme. It needs lots of code customization so you need to hire a developer to fix it.

    Thank you!

    #42464
    Kim
    Participant

    The only code customization need is change from line 468 to 488 from ambition-widgets.php file in inc/widgets folder to this:

    <?php
        $j = 1;
        while ($get_featured_pages->have_posts()):$get_featured_pages->the_post();
        $page_title = get_the_title();
        if( $j % 4 == 3 && $j > 1 ) {
                $service_class = "one-fourth clearfix-half";
        }
        elseif ( $j % 4 == 1 && $j > 1 ) {
            $service_class = "one-fourth clearfix-half clearfix-fourth";
        }
         else {
            $service_class = "one-fourth";
        }
    ?>
    #42486

    That’s great Kim

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.