I'm reaching out regarding a query I have concerning the default theme. Currently, it showcases two featured products per row, with a noticeable gap between each item.
Could someone kindly assist me in modifying this layout to display a minimum of three products per row? Any guidance or suggestions would be greatly appreciated.
Thank you in advance for your time and support.
https://i.imghippo.com/files/d8BIg1715420463.jpg
OC version. Please follow the forum rules prior to create a new topic.alamin69 wrote: ↑Sat May 11, 2024 5:44 pmDear OpenCart Community,
I'm reaching out regarding a query I have concerning the default theme. Currently, it showcases two featured products per row, with a noticeable gap between each item.
Could someone kindly assist me in modifying this layout to display a minimum of three products per row? Any guidance or suggestions would be greatly appreciated.
Thank you in advance for your time and support.
https://i.imghippo.com/files/d8BIg1715420463.jpg
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
But anyway, since this is more of a CSS issue rather than an issue with the OC version, just use the bootstrap grid system to achieve that - just set "col-sm-4" to the parent div of each product card and it should show 3 in a row. Also, I see that you've modified the CSS class "product-thumb" and gave it a fix width and height, which is causing the huge gaps and that is not responsive design as well. You've also added a CSS style to set ".product-layout.col-lg-3, .product-layout.col-md-3, .product-layout.col-sm-6, .product-layout.col-xs-12" to "25%", which forces all the products to appear in rows of 4 no matter the screen size.alamin69 wrote: ↑Sat May 11, 2024 5:44 pmDear OpenCart Community,
I'm reaching out regarding a query I have concerning the default theme. Currently, it showcases two featured products per row, with a noticeable gap between each item.
Could someone kindly assist me in modifying this layout to display a minimum of three products per row? Any guidance or suggestions would be greatly appreciated.
Thank you in advance for your time and support.
https://i.imghippo.com/files/d8BIg1715420463.jpg
Are you new to CSS? Because these CSS styling rules you've added don't really make any sense. You might also want to check out Bootstrap's documentation on how the grid system works (specifically v3.4 since that is the version your site is using) before attempting to customise your website's theme template.
Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager Pro • Drag & Drop Sort Order
Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.
This was already answered above. Change your CSS. Also, be aware that most developers here don't yet recommend OpenCart 4.0.2.3 for a live site as it still has too many bugs or known issues. Use 3.0.4.0 instead, or wait for the upcoming 4.1.0.0.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Spamming with hidden links
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Indeed in the commas. I'll remove the links and block user.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 2 guests