Menu from template: Outdoors Style>> SOLVED<<

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
stahu13
Forum Members
Forum Members
Posts: 22
Joined: Fri Nov 21, 2008 7:46 pm

Menu from template: Outdoors Style>> SOLVED<<

Post by stahu13 »

Hi,
I need delete those numbers from menu 1:, 2:, how can I do that??
Image

this is code from menu:
{* CSS classes used in this template:
#menuwrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}


{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}

{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}

{repeat string="" times=$node->prevdepth-$node->depth}

{elseif $node->index > 0}
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
type == 'sectionheader'}
        {$node->menutext}
{elseif $node->type == 'separator'}
       
{else}
type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}
{elseif $node->type == 'sectionheader'}
>{$node->hierarchy}: {$node->menutext}
{/if}

{/foreach}

{repeat string="" times=$node->depth-1}



{/if}
Last edited by stahu13 on Sat Jan 17, 2009 8:12 am, edited 1 time in total.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Menu from template: Outdoors Style

Post by tyman00 »

I'll give you a hint to help you figure it out yourself. Heck I'll even give you two.

1. Look for the : in your Menu template to see if you can figure out where it is being inserted
2. Look in the Help of the Module to see if you can figure out which smarty call is used for those numbers. Yes, it is documented in the Menu Manager help.

Could I tell you what to do or just paste the new template with the changes? Yes. In fact it would have been easier, but how will you learn to use the system if I do? :)
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu from template: Outdoors Style

Post by Dr.CSS »

Have you searched thru the forum for this as it has been answered numerous times, and why is it suddenly become such a hot topic again, any ways have you looked in the source to see what/where they come from and maybe look thru the default style sheets to see if any of them call it or deal with them?...
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Menu from template: Outdoors Style

Post by christiaans »

mark wrote: Have you searched thru the forum for this as it has been answered numerous times, and why is it suddenly become such a hot topic again, any ways have you looked in the source to see what/where they come from and maybe look thru the default style sheets to see if any of them call it or deal with them?...
Exactly..

*ugh* span.. *ugh*
stahu13
Forum Members
Forum Members
Posts: 22
Joined: Fri Nov 21, 2008 7:46 pm

Re: Menu from template: Outdoors Style

Post by stahu13 »

guys,
I making website for 2 years, I ask you because I havent got too much time, please if you know tell me I will spent more time with my girlfrien :))
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu from template: Outdoors Style

Post by Dr.CSS »

Have you looked in source of page to see what those are in the menu then looked thru the accessibility and crossbrowser style sheet to see if anything rings a bell...

If you spent more time looking thru the default templates/stylesheets/content we could spend more time with our significant others also...
stahu13
Forum Members
Forum Members
Posts: 22
Joined: Fri Nov 21, 2008 7:46 pm

Re: Menu from template: Outdoors Style SOLVED

Post by stahu13 »

ok SOLVED just insert in your css style:
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}
stahu13
Forum Members
Forum Members
Posts: 22
Joined: Fri Nov 21, 2008 7:46 pm

Re: Menu from template: Outdoors Style >>>SOLVED<<<

Post by stahu13 »

:)
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Menu from template: Outdoors Style>> SOLVED<<

Post by tyman00 »

See... now you know a little more of what to look for and how to do it.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Post Reply

Return to “Layout and Design (CSS & HTML)”