Support » Themes and Templates » Custom Themes- Sidebar Widget fonts

  • I think all of the threads on this topic I found was dealing with the default theme, but I want to change the font of my sidebar widgets in my own custom theme.

    Even though everything is showing up, I can’t seem to change the font (size, type or color) on any of the widgets.

    First of all, per some tutorial I found online, I just needed header.php, footer.php, sidebar.php, index.php and style.css. I copied the sidebar.php and the searchform.php from the default folder and put it in my custom theme’s folder. Am I on the right track in doing that?

    Then, something I’ve seen in another thread, suggested that I add the following to my style.css:

    #searchform div {

    #searchform s {
    border-width: 1px;
    border-style: solid;
    border-color: #999999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333333;
    padding-left: 2px;

    in which I’m just trying to add a border around my search textbox.

    Needless to say, neither has worked so far. What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • In my stylesheet the relevant css is in the Form Elements section following:
    #sidebar #searchform #s
    and changes I apply show up.
    No divs.
    My searchform is a widgetized sidebar element.

    I tried what you suggested, VeraBass, but it didn’t work for me. Are you starting from the default theme or did you just start from scratch like I’m doing?

    I started from the default theme, so I have:

    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    in my sidebar file.

    I’ve read in the docs here that once the sidebar is widgetized, that call should be in the widgets file, but mine doesn’t have this …just looks in sidebar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Themes- Sidebar Widget fonts’ is closed to new replies.