Jump to content

layered navigation checkboxes inline


Recommended Posts

thank you for the url! it's really helpful for me because i don't have any shop with default theme where this module is active :)

 

add somewhere in global css this:

#ul_layered_id_attribute_group_2 li {display:inline-block; width:100px; float:left;}

effect:
XTkRHxk.png

  • Like 1
Link to comment
Share on other sites

och great !! really thanks!! and if i want do same for other groups i must create new line for example

 

#ul_layered_id_attribute_group_1 li {display:inline-block; width:100px; float:left;}

 

or

 

#ul_layered_id_attribute_manufacturer_0 li {display:inline-block; width:100px; float:left;}

 

or is there some trick add it together? 

 

btw now I am working on layered navigation in center column and I am almost done.

Link to comment
Share on other sites

  • 3 months later...

Vekia, can you help me please with this issue? How can I swap this (check attachment)?

 

In red rectangle is block layered and i want swap it with yellow rectangle it is probably breadcrumb. 

Simple I need breadcrumb in top od center column.

The block layered is in hook which I created.

 

link to my site is

www.bunco.sk

post-710185-0-01172600-1392993947_thumb.png

Edited by jokerstar (see edit history)
Link to comment
Share on other sites

in this case you have to modify a bit structure of your website.

you have to move include breadcrumb file before the hook you created.

but how can i do that?

this is code which specifies that hook it is in header.tpl

 

<!-- Center -->

  1.  {if $page_name !== 'index'}
  2. <div id="center_column" class=" grid_7 omega">
  3. {hook h='displayMyNewHook'}
  4. </div>
  5. {/if}
Edited by jokerstar (see edit history)
Link to comment
Share on other sites

in this case you have to remove all instances of 

{if ($content_only == 0)}
	{include file="$tpl_dir./breadcrumb.tpl"}
{/if}

from each tpl file in your theme directorY

then just paste this code before {hook h='displayMyNewHook'}

in your header.tpl file
Link to comment
Share on other sites

Well I thought about it and it looks like for many changes, so I tried move code (below) to category.tpl and it works like a charm!  :)

 

<!-- Center -->

  1.  {if $page_name !== 'index'}
  2. <div id="center_column" class=" grid_7 omega">
  3. {hook h='displayMyNewHook'}
  4. </div>
  5. {/if}
 
Thanks for your help Vekia!
Link to comment
Share on other sites

×
×
  • Create New...