VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Seabiscuit on February 09, 2016, 00:05:38 AM

Title: Two VM layouts on one website
Post by: Seabiscuit on February 09, 2016, 00:05:38 AM
Hi all,

I have a question. I'm working on a cocktail website where I challenge my VirtueMart to assist me in two things:

1) Displaying the cocktails:http://maakeencocktail.nl/index.php/cocktail-overzicht/manufacturer/?categorylayout=default&showcategory=0&showproducts=1&productsublayout=products_overview (http://maakeencocktail.nl/index.php/cocktail-overzicht/manufacturer/?categorylayout=default&showcategory=0&showproducts=1&productsublayout=products_overview)
(http://maakeencocktail.nl/images/3.png)
2) A webshop with cocktail accessories: http://maakeencocktail.nl/index.php/webshop/accessoires (http://maakeencocktail.nl/index.php/webshop/accessoires)
(http://maakeencocktail.nl/images/4.png)


It is working quite okay for me so far, but I'm running into some problems now I'm working on my responsiveness. If you minimize the screen to phone resolution, I want all the images to disappear.
(http://maakeencocktail.nl/images/2.png).

However, this messes up the webshop layout.
(http://maakeencocktail.nl/images/1.png)

I thought the best way to do this was to create a new vm-ltr-site.css file, but I tried to create a new vm-ltr-site.css file in my template css folder, but this isn't working. Can anyone please help me, I am at a loss.

If there is not enough information, please let me know!
Title: Re: Two VM layouts on one website
Post by: GJC Web Design on February 09, 2016, 12:31:01 PM
just do your changes in http://maakeencocktail.nl/templates/webshop/css/template.css

it is loaded last so will over write any rule
Title: Re: Two VM layouts on one website
Post by: Seabiscuit on February 09, 2016, 13:38:26 PM
Thanks, it works!