VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mratki on April 06, 2022, 09:20:08 AM

Title: Problem with overflow-x on cart table (Mobile layout)
Post by: mratki on April 06, 2022, 09:20:08 AM
Hello,
overflow-x doesn't work on the cart table, you can see in mobile layout, any solution?

https://canivau.com/hr/kosarica

Regards,
M
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: pinochico on April 06, 2022, 09:36:26 AM
Solution for table on mobile is change layout from table to DIV (bootstrap)

You can inspire there:
http://css-tricks.com

Layout for cat you can find there:
components/com_virtuemart/views/cart/tmpl/default_address.php
components/com_virtuemart/views/cart/tmpl/default_cartfields.php
components/com_virtuemart/views/cart/tmpl/default_coupon.php
components/com_virtuemart/views/cart/tmpl/default_pricelist.php
components/com_virtuemart/views/cart/tmpl/default_shopperform.php
components/com_virtuemart/views/cart/tmpl/default.php

and better use/create override in your template
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: mratki on April 06, 2022, 14:23:55 PM
Nevermind, I found a solution, it was all about:

fieldset {
    overflow-x: auto!important;
}

Thanks for your help anyway!

Regards,
M
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: pinochico on April 06, 2022, 14:39:59 PM
If you think :)

I I tried
I saw a table where the information was missing
it absolutely never occurred to me that I had to scroll to the right = I only rolled down
because I did not find the information I wanted, I closed the website and went to another e-shop, where I can choose the right transport and pay.
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: mratki on April 07, 2022, 12:27:38 PM
I know it would be better for people without scrolling to the right but this is virtuemart, little obsolete component :/
I think this will be good for now..

Regards,
M
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: pinochico on April 07, 2022, 21:07:29 PM
Quotebut this is virtuemart, little obsolete component

I have a different opinion
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: mratki on April 08, 2022, 08:17:09 AM
I mean, Virtuemart is very strong component, you can control literaly anything you want, but no one is doing virtuemart templates anymore..
I think Joomla is generally outdated, unfortunately, everything is based on wordpress + woocommerce now... which I personally don't like :/

Regards,
M
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: jenkinhill on April 08, 2022, 16:14:27 PM
Quote from: mratki on April 08, 2022, 08:17:09 AM
no one is doing virtuemart templates anymore..

VirtueMart works with any Joomla template! If the appearance is not to your satisfaction then restyle it. It's not rocket science.
eg the same "Joomla" template was used for all the VM sites used here, just the styling changed.
http://forum.virtuemart.net/index.php?topic=145543.msg516905#msg516905
Title: Re: Problem with overflow-x on cart table (Mobile layout)
Post by: pinochico on April 08, 2022, 17:01:07 PM
Quotebut no one is doing virtuemart templates anymore

Oh man :)

Nobody did - It is not true
We use our own template (EasyPeasy), which we made during the existence of EasySoftware (easyjoomla.org), now Minion (minijoomla.org)

It used to be free to download for the J25.
It is not available now, but who would like a new template will definitely like to pay for its development.

BTW.
we also use the megastore template from JoomlArt at the same time.
Just search the internet and buy and test.

---

When I started with Joomla 15 years ago,
I also always got upset that the template doesn't do what I want.
before I understand that if I want to have the right results, I have to move my ass and learn myself css, php and not rely on others.