VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jimleeder123 on February 13, 2015, 15:55:08 PM

Title: VM3 Category module links
Post by: jimleeder123 on February 13, 2015, 15:55:08 PM
I'm trying to edit the module that displays the categories in a box. I want to make all of each box that holds a link clickable, rather than just the link text. CSS won't do it - widths of links won't increase and padding won't work since all links are different sizes/lengths. Theres nothing in the module manager part for it either. Any help?
Title: Re: VM3 Category module links
Post by: jenkinhill on February 13, 2015, 16:51:54 PM
You should edit the module template first to change the link structure ( modules/mod_virtuemart_category/tmpl/default.php ) & use the edited file as an override. If each link is held in a "box" container then it seems that you are not using the default VM module template, if so you will have to edit the override used by that particular module.
Title: Re: VM3 Category module links
Post by: jimleeder123 on February 13, 2015, 17:00:26 PM
I sorted it with some absolute positioning. Now all of the box is clickable.