VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: spiderpig on November 11, 2013, 14:13:11 PM

Title: Virtuemart 2 - Border for Categories
Post by: spiderpig on November 11, 2013, 14:13:11 PM
Hi,

i'm trying to add borders to my categories in "VirtueMart Categories Layout"
any ideas how i can do that?
Title: Re: Virtuemart 2 - Border for Categories
Post by: jenkinhill on November 11, 2013, 15:10:08 PM
http://forum.virtuemart.net/index.php?topic=79799.0

The categories layout has been removed from VM2.0.24 and an alternative layout is coming in 2.0.14a  - if you have that menu option I guess you are using an older version. Use Firebug to identify the solution, probably justcome css.   http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: Virtuemart 2 - Border for Categories
Post by: Maxim Pishnyak on November 11, 2013, 23:44:14 PM
Quote from: jenkinhill on November 11, 2013, 15:10:08 PM
... an alternative layout is coming in 2.0.14a
2.0.24a
Title: Re: Virtuemart 2 - Border for Categories
Post by: spiderpig on November 12, 2013, 12:06:11 PM
Hi,
thank you for the reply.

i found it, i changed line 56 in \components\com_virtuemart\assest\css\cmsite-ltr.css from ".category-view .row .category .space h2{margin:0;paddin:0;}" to ".category-view .row .category .space h2{margin:0;paddin:0;border:solid #171007 1px;height:100px;}
for others who end up here searching for solutions for this, you can ofcourse modify the color #171007 and the height.

thank you again.