• Resolved fostinwd

    (@fostinwd)


    I’m a begginer, sorry for posting silly things like this.

    I’m trying to style my sidebar, the links have to be greay and uppercase, without a bullet..

    but still it looks like this: LINK

    CSS:

    .widget ul{
    
    list-style: none;
    
    }
    
    .widget ul a:link {
    
    font-family: arial;
    font-weight:bold;
    font-size:11px;
    color:#6A6A6A;
    text-decoration:none;
    text-transform:uppercase;
    
    }
    
    .widget ul a:hover {
    
    font-family: arial;
    font-weight:bold;
    font-size:11px;
    color:#B9B9B9;
    text-decoration:none;
    
    }

    and the widget code in the sidebar.php:

    <div class="widget"> 
    
    <h2>Archives</h2>
    
    <ul>
    
    <?php wp_get_archives('type=monthly'); ?>
    
    </ul>
    
    </div>

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • you either don’t use the widgets from ‘admin->appearance->widgets’ or your theme does not use widget classes:

    that is part of the html of your site from your browser:
    <h2>Categories</h2>

    `

    you could try and use:
    #sidebar-a ul a:link {

    instead of:
    .widget ul a:link {

    in your styles.

    Thread Starter fostinwd

    (@fostinwd)

    THANK YOU SO MUCH!!!!
    It works! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘widget css problem’ is closed to new replies.