1
benjy000
xHelp - Adding Simple Bullets
  • 2007/12/20 5:52

  • benjy000

  • Just popping in

  • Posts: 16

  • Since: 2007/8/25


Hello,

I'm sure this is incredibly easy to do, but for some reason I've had no luck at all.

If you go to my website, http://www.gtiagents.com, you'll notice that for each block on the left-hand side, the different pages have arrows as bullets. For example, look under "Solutions" and "Home", "About Us", etc. all have arrows before the text instead of plain old circle bullets.

When I try to add the xHelp block, it will only let me have these weird circle bullets or to have nothing at all. I want the simple arrows to make my website consistent.

I believe I've nailed down the file for the xHelp block, so I'm assuming I'd just need to edit this file in order to display the arrows instead of the circle bullets. I have absolutely no idea where to begin to edit the file. The file is below, and I would REALLY appreciate it if someone could reply with the simple code that would allow me to have the arrows instead of circle bullets.

Thanks in advance!

xHelp File:

<{$block.startblock}>
<{foreach name=items from=$block.items item=menuitem}>
<{$block.startitem}>class="menuTop"<{/if}> href="<{$block.linkPath}><{$menuitem.link}>">
<{if $block.showicon}><{$menuitem.text}><{/if}><{$menuitem.text}>
<{$block.enditem}>
<{/foreach}>
<{$block.endblock}>
<{if $block.savedSearches neq false}>






<{/if}>
<{if $block.whoami eq "staff"}>




<{/if}>

2
stefan88
Re: xHelp - Adding Simple Bullets
  • 2007/12/20 13:20

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

Test this: put your code in a "div" tag like this:


<div class="myclass">
...
Your code here.
...
div>


and add this to your theme style.css file:

.myclass a {
    
displayblock;
    
margin0;
    
padding2px;
    
font-weightbold;
    
color#FFFFFF;
    
text-decorationnone;
    
background-imageurl(img/arrow.gif);
    
background-positionleft center;
    
background-repeatno-repeat;
}


where myclass is something meaningful for you. This should add arrow to all links like in your main menu.
..

Login

Who's Online

326 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 326


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits