I knw this is a small problem! but.......

Discussion in 'HTML & Website Design' started by point55, Sep 14, 2009.

  1. #1
    hello,

    I know the problem I am facing would be small, and most of you would think I am an idiot. But I have tried all variations but have never been able to solve this....

    I am using wordpress, and my theme does not support widgets (actually they don't show up on homepage only)

    so I tried to hardcode the code to call my blogroll on the home page,

    my code looks like this.

    <!-- Links-->
    <h2 class="front" style="margin:15px 0 5px 0">Friends</h2>
    <ul id="sidebar_m">
    <li id="linkcat-693" class="widget wp_widget_mylinkorder">
    <ul class='xoxo blogroll'>
    <li><?php get_links()' ?></li>
    </ul>
    </li>
    </ul>
    <!-- /Links-->


    and it shows my blogroll like this...

    [​IMG]

    I want the arrow to be shown with all the links and not only the first one!

    please help me in solving this stupid issue

    thanks
     
    point55, Sep 14, 2009 IP
  2. ceban

    ceban Peon

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It appears only on mouseover? or it's only on first item on the list?
    Can you provide a url of the page or the css of the items that you provided?
     
    ceban, Sep 14, 2009 IP
  3. point55

    point55 Well-Known Member

    Messages:
    349
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #3
    point55, Sep 14, 2009 IP
  4. DOCtriN

    DOCtriN Well-Known Member

    Messages:
    184
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Try this one to solve your problem
    ul li { list-style-image: url(pics.png); }
    Code (markup):
     
    Last edited: Sep 14, 2009
    DOCtriN, Sep 14, 2009 IP
  5. RobertK

    RobertK Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it seems your links are within an <li></li>

    you might want to try editing the <?php getLinks(); ?> so that they each output as <li>Content</li>

    Then just add it between your
    <ul>
    <?php getLinks(); ?>
    </ul>

    Then you can add the css which Doctrin happily supplied.

    Should do the trick though I think that function calls out a list of <li's> anyway
     
    RobertK, Sep 15, 2009 IP
  6. cnzjgxg

    cnzjgxg Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use <li></li>
     
    cnzjgxg, Sep 15, 2009 IP
  7. Design_Guy

    Design_Guy Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    What you have right now is:

    <ul class='xoxo blogroll'>
    <li><a href="http://www.mobilearc.com/" target="_blank">Free Nokia Games</a><br />
    
    <a href="http://www.themespool.com/" target="_blank">Free Themes</a><br />
    <a href="http://www.downloadchill.com" target="_blank">Sony Ericsson Themes</a><br />
    <a href="http://www.wiidebate.com/" target="_blank">Wii Forum</a><br />
    </li>
    </ul>
    
    Code (markup):
    If you want to leave this code as is..

    Use the following CSS code (edit to suit):

    
    .blogroll a {
      background: url('images/YourArrow.gif') no-repeat left center;
      padding-left: 15px;
    }
    
    Code (markup):
    Hope that works for you.
     
    Design_Guy, Sep 15, 2009 IP