• Could someone look at https://www.dangthispc.com and tell me if there is anyway to change the lenght and width of the advertising boxes that are in the right sidebar?

    Right now they are 125 X 125. I would like to change them preferrably to individual sizes depending on what I need, are at best to a different default for all of them than what it is currently set at.

Viewing 1 replies (of 1 total)
  • You can change those. The styling for them is the widget-bar div in your css. The width size is set to 266px with 15px padding left, right and top. You can use the whole space for how many ads you want as long as they don’t extend 266px counting the padding. There is no height per picture so they can be any height. You can use .gif, .jpg, or .png pictures, just edit your sidebar.php file to insert them here:

    <ul id="ads">
    <li>
    <a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/ad.gif" alt="ads" /></a>
    <a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/ad.gif" alt="ads" /></a>
    <a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/ad.gif" alt="ads" /></a>
    <a href="#"><img src="<?php bloginfo('template_directory'); ?>/images/ad.gif" alt="ads" /></a>
    </li>
    </ul>

    You can insert more lines above. If the total of the pictures and padding equals more than 266px it will drop down to the next line.

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change size of advertising boxes’ is closed to new replies.