Post by porter943 » Wed Jan 01, 2025 3:07 am

Hello Everyone,
I'm using opencart 3.0.2.0
When I view the site on other computers these links, add to cart are not showing up.
Could anyone please check the site and see if these links are showing up.
Demo site URL
https://ez-promotion4u.com/Multivendor-master/

Attachments

???
top-2.png
add to cart2.png

add to cart2.png (8.9 KiB) Viewed 642 times


Active Member

Posts

Joined
Fri Dec 11, 2015 11:35 pm

Post by by mona » Wed Jan 01, 2025 10:36 am

I presume you mean other screen sizes rather than other computers.
Opencart uses bootstrap to be responsive. Responsive means it "responds" to different screen sizes - screen sizes are mobiles, ipads, desktops.
In this case css styles hidden-xs hidden-md etc.

1. You need to learn how to use developer tools
https://www.heartinternet.uk/blog/16-de ... d-to-know/

2. in catalog/view/theme/default/template/common/header.twig you can remove the classes hidden-sm and hidden-md from the nav
If you dont know what that file is to do that read this https://docs.opencart.com/en-gb/developer/module/

Alternatively you can add to your css

Code: Select all

nav span.hidden-sm, nav span.hidden-md {
display: inline-block !important; 
}
3. You have no idea what you have on your homepage, so here we can onlywork with css.
add to your stylesheet and remember to refresh cache

Code: Select all

.product-thumb .button-group button {
    width: 90% !important;
}
.product-thumb span.hidden-xs, .product-thumb span.hidden-sm, .product-thumb span.hidden-md, .product-thumb span.hidden-lg  {
display: inline-block !important; 
}

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


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Thu Jan 02, 2025 8:03 pm

They appear to be showing now?

If your issue is now solved, please add [SOLVED] to the start of this topic title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 67 guests