• hello ..
    the problem is: i could not change the style of the sidebar or any of the widgets inside.
    wordpress blog details:
    1- customized theme contains only one style sheet (CSS) ..
    and here’s the style of the sidebar:

    #sidebar{
    	background-color: #000000;
    }

    widgets style:

    #box{
    	background-color: #FFFFFF;
    }
    #title{
    	font-size: 1.5em;
    }

    2- sidebar.php:

    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    <?php endif; ?>
    
    </div>

    3- functions.php:
    <?php

    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<p id="box">',
            'after_widget' => '</p>',
            'before_title' => '<span id="title">',
            'after_title' => '</span>',
        ));
    ?>

    hint may help: i tried to exchange “<p id=”box”>” with h2 .. and the style worked and the text was in h2 size and color !
    i tried for so long to find out why sidebar does not use the main CSS for the theme and still didn’t know the answer.. hope you lead me to something =)
    thanx any way..

Viewing 1 replies (of 1 total)
  • Thread Starter reemaws

    (@reemaws)

    Hello this me again .. i realized that the style works with google chrome, safari, camino but not working with Mac OSX firefox! but it works on windows XP firefox .. any ideas why thats happening ?

Viewing 1 replies (of 1 total)

The topic ‘customize sidebar widgets style’ is closed to new replies.