Jump to content

Question-->Top horizontal menu default template 1.6


Recommended Posts

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

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 by bsqinc (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

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

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

  • Like 1
Link to comment
Share on other sites

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

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

  • Like 3
Link to comment
Share on other sites

  • 4 weeks later...

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

×
×
  • Create New...