• Hi,
    I’ve created 2 dynamic sidebars. I have a problem though. They have different fonts and sizes. I’ve been trying to fix this… no luck.

    Help please!

    These are the changes I made to get the dynamic sidebar.

    1. created sidebar2.php and added <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?> to index.php
    2. Also included <?php include (TEMPLATEPATH . ‘/sidebar2.php’); ?> in page.php

    I presume both the sidebars should refer to the same stylesheet. I am not sure what is going wrong here.

    http://www.quinker.com Both the sidebars are on this site. One on top is the newly created one. the one at the bottom is perfect.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter quinker

    (@quinker)

    bump..

    Any help on this please?

    Your top sidebar fontsize is smaller because you define font-size = 11px in #sidebar

    bottom sidebar font-size is 1.1em because that effected by “#sidebar ul”, it’s different.

    To fix this you just edit font-size of #sidebar to 1.1em.

    Thread Starter quinker

    (@quinker)

    Thankyou Steyr, I;ve made the suggested change. But the font in Sidebar1(bottom one) has increased too. It now looks much bigger than the rest of the text on the page.

    Also, another problem : When I try to post a comment on a post, the text size increases. The text looks huge…

    I’ve been breaking my head over fixing these issues. I’d really really appreciate a solution to these.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘2 sidebars showing different fonts’ is closed to new replies.