Awesome q2a theme

How to make this carousel?

0 like 0 dislike
22 views
there is code that outputs loadable from the database card with the prices, but they are displayed in rows and ultimately flood the page. Tell me how to do carousel of 3 items with scrolling for this design?
<?php if ( ! is_page_template( 'template-pricing.php' ) ) { get_template_part( 'partials/pagehead', 'pricing' ); } ?><?php $pricing_packs = shuttea_get_option('pricing_pack');$i = 0;foreach ($pricing_packs as $pricing_pack) {if ( $pricing_pack["title"] && $pricing_pack["price"] && $pricing_pack["options"] ) { $i++;};}if ( $i < 3 ) { $col_width = 12 / $i; } else { $col_width = 4; } ?><?php foreach ($pricing_packs as $pricing_pack) {if ($pricing_pack["title"] && $pricing_pack["price"] && $pricing_pack["options"]) {echo '<!-- pricing table -->'; echo ''; ?> <!-- pricing table heading--><?php esc_html_e('','shuttea'); ?><?php echo esc_attr($pricing_pack["title"]); ?><?php echo esc_attr($pricing_pack["price"]); ?><!-- END pricing table heading--><!-- pricing table content--><?php foreach ( $pricing_pack["options"] as $pack_option ) { ?>- <?php echo esc_attr($pack_option); ?><?php } ?><!-- END pricing table content--><?php esc_html_e('Заказать','shuttea'); ?><!-- END pricing table --><?php } ?><?php } ?>

The code is implemented on the website mekegood.group in the main, the "Prices"section.
by | 22 views

1 Answer

0 like 0 dislike
Run it on jsfiddle or codepen, so you can poke.

The ride can be taken here: flexslider.woothemes.com/basic-carousel.html

Adapt your html under it and succeed.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked May 3, 2019 by volkovecgenei
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users