Support Forums

Got a question? Post it here. We'd love to help.

Knowledge Base:

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorbpeterson
    • CommentTimeJun 24th 2008
     

    Where do I need to look to find the setting for the font size in the block titles? I would like to make them smaller.

    •  
      CommentAuthorptrkmkl
    • CommentTimeJun 24th 2008 edited
     

    Where you look depends on the theme you're using. What you're looking for is:

    .sideblock .header h2 { font-size:16px; }

    where 16px could be any value. Changing that value will change your sideblock header font size.

    In fact, don't bother looking for it; simply add the code above to the bottom of your CSS.

    • CommentAuthorbpeterson
    • CommentTimeJun 24th 2008
     

    Thanks. I am using the convertible theme. I also have a suggestion for a code change for convertible, or any other theme with a background picture.

    I modified the php code in the header.html to show a random rotating background picture everytime you load the page. Then you just add all page_img.png files in one folder and name them page_img1.png, page_img2.png, etc. The code is below.

    <!-- BEGIN HEADER IMAGE -->

    <?php //set up rotating background picture on main page
    $PIC_TOTAL = 5;

    srand(time());
    $num = rand() % $PIC_TOTAL + 1;
    ?>

    <div id="front-img"><img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/pix/bg_alphabet/page_img<?php print($num) ?>.png"</div>

    <!-- END HEADER IMAGE -->

    •  
      CommentAuthorptrkmkl
    • CommentTimeJun 24th 2008
     

    I just may use this in the future. Thank you.