bsqinc Posted July 25, 2014 Share Posted July 25, 2014 (edited) can anyone tell me how do I relocate the thumbnail images to the right of the Menu? And How do I assign Anchor Tag to each image? see attachment image Edited July 25, 2014 by bsqinc (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted July 26, 2014 Share Posted July 26, 2014 Try editing superfish-modified.css, line 165, it's where the category-thumbnail element has 100% set as width. As for anchors, I am afraid it's necessary to edit the blocktopmenu.php core file to achieve some result, and they would be static anyway! Link to comment Share on other sites More sharing options...
bsqinc Posted July 29, 2014 Author Share Posted July 29, 2014 (edited) Try editing superfish-modified.css, line 165, it's where the category-thumbnail element has 100% set as width. As for anchors, I am afraid it's necessary to edit the blocktopmenu.php core file to achieve some result, and they would be static anyway! What do you mean by static? So even if I changed the php document, those thumbnail would still unclickable? Edited July 31, 2014 by bsqinc (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted July 30, 2014 Share Posted July 30, 2014 Ah no no, I mean you have to change the links in the php every time, if you hardcode it Link to comment Share on other sites More sharing options...
bsqinc Posted July 31, 2014 Author Share Posted July 31, 2014 Ah no no, I mean you have to change the links in the php every time, if you hardcode it that is annoying. but thank you Nemo1 Link to comment Share on other sites More sharing options...
bsqinc Posted August 18, 2014 Author Share Posted August 18, 2014 Ah no no, I mean you have to change the links in the php every time, if you hardcode it If I have more than one thumbnail images, how do I change the php so that i could assign different link to different thumbnail image? Link to comment Share on other sites More sharing options...
NemoPS Posted August 19, 2014 Share Posted August 19, 2014 Well something like $html .= '<li'.(($this->page_name == 'category' && (int)Tools::getValue('id_category') == (int)$category['id_category']) ? ' class="sfHoverForce"' : '').'>'; $html .= '<a href="'.$link.'" title="'.$category['name'].'">'.$category['name'].'</a>'; Adding a class="cat_'.(int)$category['id_category'].'" ANd then style it for each id 1 Link to comment Share on other sites More sharing options...
elita2013 Posted August 20, 2014 Share Posted August 20, 2014 Hello! I have a problem with the thumnails of my menu today. Suddenly all my images are in the right not under my subcategories. Can you help me please? Thank you Link to comment Share on other sites More sharing options...
NemoPS Posted August 21, 2014 Share Posted August 21, 2014 Hi, can you share your site's url? Did you install any new module? Link to comment Share on other sites More sharing options...
elita2013 Posted August 21, 2014 Share Posted August 21, 2014 Hi! Actually i cant because i already change my dns, when its works i can open for a while my web... I dont install a new module...only and maybe its the problem i change something about the position or hooks and i dont remember... if it possible you can help me to have the thumbail images under my menu i appreciate so much... bego Link to comment Share on other sites More sharing options...
elita2013 Posted August 21, 2014 Share Posted August 21, 2014 https://drive.google.com/file/d/0B2nrufrfc7d0cEF4VzRpZGJmeU0/edit?usp=sharing can you see the image? Link to comment Share on other sites More sharing options...
tonys01 Posted August 21, 2014 Share Posted August 21, 2014 same thing happened to me, I solved it by replacing the module blocktopmenu to the one that came with the original 1.6.0.9 shop, and the images returned to the bottom. (I think there is a css property missing in the generated css, namely the: class="" property... only the 'id' property is being added in the updated module) Hope this helps 3 Link to comment Share on other sites More sharing options...
elita2013 Posted August 27, 2014 Share Posted August 27, 2014 Thank you very much Tonys01....it works!! SOLVED Link to comment Share on other sites More sharing options...
acidcloud Posted September 18, 2014 Share Posted September 18, 2014 same thing happened to me, I solved it by replacing the module blocktopmenu to the one that came with the original 1.6.0.9 shop, and the images returned to the bottom. (I think there is a css property missing in the generated css, namely the: class="" property... only the 'id' property is being added in the updated module) Hope this helps This worked for me. It seems like everytime I update the modules associated with the menu, my category images get screwed up and shoved to the side. This is what I have to do to fix it. Thanks for the tip! Link to comment Share on other sites More sharing options...
Recommended Posts