You could try wrapping your adsense code in a
<p class="alignleft">
tag instead of a div
. Make sure you close it with a </p>
too.
At the moment the first <p>
tag is sitting before the div
tag, so your first paragraph of text is not seeing the opening <p>
tag as a result.
Change it and your font should change in line with your p
in your css.
Thank you James! I’ve still got a lot to learn, but I managed to fix those problems thanks to your help. Now I’m trying to figure out how to put links to non-wordpress pages under my “pages” heading on the sidebar, where my “About” and “Contact” pages are.
The best way is to add them to your Blogroll and call them from there.
Look for the Pages code in your sidebar.php file in your theme – it should look something like this:
<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
and after that put in the following.
<?php wp_list_bookmarks(); ?>
and you can keep this to a specific link category by including a specific category in the call, such as this below. Just change the number to your chosen category ID.
<?php wp_list_bookmarks(‘category=1’); ?>`
hmmm, i dunno, my pages code looks different, i might try a different template. What i have now looks like this:
<? if ($pages_html=wp_list_pages(“echo=0”) ){ ?>
<table cellspacing=”0″ cellpadding=”0″ border=”0″ width=”200px” style=”margin-top:5px;”>
<tr><td width=”3px”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/mulu.gif” alt=”mulu”></td><td class=”aa1″></td><td><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/muru.gif” alt=”muru”></td></tr>
<tr><td class=”aa1″></td><td class=”aa1″>
<?=$pages_html?>
</td><td class=”aa1 aaa3″></td></tr>
<tr><td width=”3px”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/muld.gif” alt=”muld”></td><td class=”aa1 aaa4″></td><td><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/murd.gif” alt=”murd”></td></tr></table>
and i dont really want my whole blogroll up there, just a link to other non-blog pages on my site.