1
juraba
Big dot in mylinks and mydownload blocks
  • 2003/11/24 19:28

  • juraba

  • Just popping in

  • Posts: 22

  • Since: 2003/11/23


Hello guys... I've been looking around my theme.html and the templates of these blocks to change the big black dot that shows before any link. I'd like to put a little gif instead just for decoration purposes. I've seen it in many XOOPS places but the big dot seems to be nowhere..

2
CBlue
Re: Big dot in mylinks and mydownload blocks

What block is the black dots for your links showing up in? Those black dots could be li's and you should be able to see the code for them in your style.css file for your theme.

3
juraba
Re: Big dot in mylinks and mydownload blocks
  • 2003/11/24 20:42

  • juraba

  • Just popping in

  • Posts: 22

  • Since: 2003/11/23


this is the block involved

mylinks_block_top.html


    <{foreach item=link from=$block.links}>
  • <{$link.title}> (<{$link.hits}>)

  • <{/foreach}>


and the only (li) tha i've found un my css is this one:

li { margin-left: 2px; list-style: square inside; color: #2F5376}

did you mean this? how can i change the dot for a gif?

Thx again

4
CBlue
Re: Big dot in mylinks and mydownload blocks

By replacing the
  • tags with img tags. You will need to put the url to your gif into a img tag.

    But someone else here hopefully can tell you exactly how to write the code to do that!

  • 5
    wtravel
    Re: Big dot in mylinks and mydownload blocks

    Hi,

    Below is my example of a possible solution. List-Style-Type becomes none and as a left top placed background image you whould your own custom bullet (or what other pictures you like).
    Quote:
    LI
    {
    BACKGROUND-POSITION: left top;
    LIST-STYLE-POSITION: inside;
    BACKGROUND-IMAGE: url(/images/dot.gif);
    MARGIN-LEFT: 2px;
    COLOR: #2f5376;
    BACKGROUND-REPEAT: no-repeat;
    LIST-STYLE-TYPE: none
    }

    Changing this means that all lists will be moderated like that automatically. So, if you feel uncomfortable with that, another solution would be to remove the
      and
    • tags and add an image before the link plus a
      after the link in the above example.

      Good luck,

      Martijn

    6
    juraba
    Re: Big dot in mylinks and mydownload blocks
    • 2003/11/24 22:04

    • juraba

    • Just popping in

    • Posts: 22

    • Since: 2003/11/23


    Thank you very much Martijn i think the second option will be my case. I've done it as you told me and now a have my little bullets in place.

    It's easy when you know how. Great!

    Thanks again for your help. Viva Xoops!!!

    Login

    Who's Online

    250 user(s) are online (170 user(s) are browsing Support Forums)


    Members: 0


    Guests: 250


    more...

    Donat-O-Meter

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

    Latest GitHub Commits