News:

Looking for documentation? Take a look on our wiki

Main Menu

Use VirtueMart CSS setting does not work with Bootstrap

Started by iWim, October 24, 2024, 18:18:26 PM

Previous topic - Next topic

iWim

The setting for disabling VirtueMart CSS does not work when Layout Bootstrap Version is set to any Bootstrap version.

Go to Configuration > Templates
At Layout Bootstrap Version select any Bootstrap version
At Use the VirtueMart CSS select No

Check <head> in the frontend

Expected: the VirtueMart/Bootstrap css is not loaded when Use the VirtueMart CSS is set to No.

Actual: No matter what the setting is at Use the VirtueMart CSS, the following link is added to <head>:<link href="/components/com_virtuemart/assets/css/vm-bs#-common.css?vmver=9ea620ca" rel="stylesheet">Replace '#' with the selected Bootstrap version (2,3,4,5)

Disabling CSS does work as expected when Layout Bootstrap Version is set to None (Use Legacy).