Support » Themes and Templates » Image and text alignment

Image and text alignment

  • I’ve searched and I can’t seem to find the answer. I just upgraded my site to WP 1.5. I’m using the trident theme. I can’t seem to get the link category headings to align left like the other headings in my menu. Secondly, in the right menu I have a Google Search and Google AdSense. They want to align left instead in the center, where I would like them to be. Thirdly, the right menu I have set for a width of 150px. No matter how big I make it, the Google Search doesn’t want to fit correctly. It’ll either run off to the right or over to the left into the post area.
    My site is located @ http://www.stinner.com/ and the theme is in the default location @ http://www.stinner.com/wp-content/themes/trident

Viewing 7 replies - 1 through 7 (of 7 total)
  • Your link category headings are styled with h2. The others are not. That’s a possible cause.

    I tried assigning text-align: left; to h2 in the style.css file.

    Mark (podz)


    Support Maven

    Right menu first.
    There is no css for it as yet, so we need some.

    Drop into the bottom of your css
    #rmenu ul li#ads {

    Now in sidebar.php, just above the ads do this

    <li id=ads">
    then put
    the ad

    That should center it.

    I’ll look at the other stuff.

    Mark (podz)


    Support Maven

    The stuff that won’t align – you’ve actually got a <h2> tag around those in your code …. that needs to go.

    I’m assuming you’re talking about the <h2> tags around the link category headings. How do I remove them? They’re put there by <?php wp_list_pages(); ?>
    <?php get_links_list(); ?>

    I don’t know how to remove the h2 tags, but you can try to style them using
    h2 {
    display: inline;

    I think that then they’ll display as you won’t it.

    i’ve inserted my google adsense like this:

    <li id=ads”>
    <script type=”text/javascript”><!–
    google_ad_client = “pub-8125680449311930”;
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = “120x600_as”;
    google_ad_type = “text_image”;
    google_ad_channel = “”;
    google_color_border = “FFFFFF”;
    google_color_bg = “FFFFFF”;
    google_color_link = “3D81EE”;
    google_color_text = “B3B3B3”;
    google_color_url = “008000”;
    <script type=”text/javascript”

    But still, i don’t get it align.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image and text alignment’ is closed to new replies.