I have seen some stores with category menus with hover functions etc.
Lets say that I want a menu which has each link in separeate "cells"
I want to be able to set a backgound color for the cells, and color for mouse over the cells.
I would also be able to have different styles for category and sub-category.
Is that an easy thing to do in the css menu?:)
Best regards
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Error: Table 'danny_macdealer.category' doesn't exist
Error No: 1146
SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) ORDER BY c.sort_order
help! lol

Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Note. don't post your email address here... you can contact me direct on the site or PM - it's not worth the spam
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Nice template from Readyman and everything's done for you, but yes it's easy to do with CSS.karlpers wrote:Hi guys,
I have seen some stores with category menus with hover functions etc.
Lets say that I want a menu which has each link in separeate "cells"
I want to be able to set a backgound color for the cells, and color for mouse over the cells.
I would also be able to have different styles for category and sub-category.
Is that an easy thing to do in the css menu?:)
Best regards
Find "catagory" & "hover" in the CSS file, and give the hover a background colour.
With Readyman's stylesheet.css file you'll find it already done for you. Just change the colour to suit. Change the colour by changing the number after the word "background". The following chart shows the numbers you need, the hexidecimal colour codes http://html-color-codes.com/. You can even swap in background images which can be cool.
Remember to make a copy of anything before you change anything, as you may make a mistake.
Cheers
Adam
You need to change the category output so that you have the full list of categories. Only then can you style it into CSS or use jquery to build menus etc. At the moment, you only have one category appearing after you click it.
Also, you need to dynamically set the current category, so that you can style it with a class style.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
is the jquery expanding menu attached to this ye filet? http://alreadymade.com/shop/index.php?r ... duct_id=42
id love drop menu where the subheadings are hidden until you click on a main heading.
i tried to install your module on 1.34 and it doesnt work, it gives me this when i load my website:
Error: Could not load template /home/vol11/byethost18.com/b18_4413706/htdocs/store/catalog/view/theme/mysitemodule/category.tpl!
help! what do i do?
also do you have the accordion plugin yet?
I am getting a weird error. All the categories are duplicated and it owerflows the box. The next box is affected too. See image below.

Any help?
Vimal.
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel
public function fetchCategories(){
$query = $this->db->query("SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) WHERE cd.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY c.sort_order");
return $query->rows;
}
public function fetchCategory($category_id = 0){
$query = $this->db->query("SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) WHERE c.parent_id = '" . (int)$category_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY c.sort_order");
return $query->rows;
}
just modify those lines on model->catalog->catagory.php
enjoy
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Users browsing this forum: No registered users and 1 guest