Author |
Topic |
|
faolie
VP-CART New User
98 Posts |
Posted - August 14 2017 : 04:40:27
|
How do i display categories in the centre container? (similar to the Column Categories in the Left Container)
regards
David Heriot |
|
danielrichardson
VP-CART Super User
Australia
276 Posts |
Posted - August 14 2017 : 08:11:46
|
try to insert the following code in the very bottom of shoppage_header.htm
<%NavigateShowCategories%> |
|
|
serjtankian
VP-CART Super User
Armenia
378 Posts |
Posted - August 14 2017 : 14:52:29
|
that''s correct. however, you will need to modify the CSS too, as by default the categories will displaying as rows not a column. and if you just put the code as is, it will look bad
*peace - serj* |
|
|
faolie
VP-CART New User
98 Posts |
Posted - August 14 2017 : 15:34:41
|
Thanks Daniel, that''s what I''ve done. And modifying the CSS isn''t a problem, Serj, now that I know how to display the products.
However, how do I highlight the chosen category in the Column Category? Seems an obvious thing to be able to do, and I''m sure I did it once, but it was a long time ago and used too much code! Any ideas anyone?
DH |
|
|
danielrichardson
VP-CART Super User
Australia
276 Posts |
Posted - August 18 2017 : 05:16:19
|
try to add the following code in the very bottom of basic-style.css
.menulist> li:nth-child("your category number") > a{color:(your color)}
for example, I want to highlight my category list number 6 in red:
.menulist> li:nth-child(6) > a{color:red} |
|
|
|
Topic |
|