• I’m toying around with putting images in place of the Category headings in the sidebar, instead of plain text.

    The image tag:

    <img src=”http://www.site.com/image.jpg&#8221; alt=”image” />

    works if I put it right above line:

    <h2>CATEGORY HEADING</h2>

    but NOT when I put it above lines like:

    <?php get_links_list(‘id’); ?>

    and

    <h2><?php _e(‘Register’); ?></h2>

    The image will show up, but the category heading TEXT is still there.

    How do I get rid of the category text so that only the image stays?

    Right now I’m able to put in text images where I can, as you can see on my blog – but the remaining ones I’m not able to change.

    Thanks!

    http://www.niquehappy.com/blog

Viewing 4 replies - 1 through 4 (of 4 total)
  • That looks nice!

    I suspect it’s because there’s errors as shown in the source code. Clean the major ones up and it might make a difference

    The list below looks intimidating, but it’s often a cascading effect, that if you clean up one or two major errors at the beginning the rest disappear
    From Firefox:

    line 18 column 1 – Warning: <link> element not empty or not closed
    line 76 column 1 – Warning: discarding unexpected </div>
    line 94 column 111 – Warning: unescaped & which should be written as &
    line 164 column 80 – Warning: unescaped & or unknown entity “&offerid”
    line 164 column 103 – Warning: unescaped & or unknown entity “&type”
    line 164 column 110 – Warning: unescaped & or unknown entity “&subid”
    line 164 column 120 – Warning: <img> element not empty or not closed
    line 164 column 328 – Warning: unescaped & or unknown entity “&bids”
    line 164 column 348 – Warning: unescaped & or unknown entity “&type”
    line 164 column 355 – Warning: unescaped & or unknown entity “&subid”
    line 165 column 80 – Warning: unescaped & or unknown entity “&offerid”
    line 165 column 103 – Warning: unescaped & or unknown entity “&type”
    line 165 column 110 – Warning: unescaped & or unknown entity “&subid”
    line 164 column 234 – Warning: <img> element not empty or not closed
    line 165 column 349 – Warning: unescaped & or unknown entity “&bids”
    line 165 column 369 – Warning: unescaped & or unknown entity “&type”
    line 165 column 376 – Warning: unescaped & or unknown entity “&subid”
    line 165 column 261 – Warning: <img> element not empty or not closed
    line 547 column 5 – Warning: missing

    • line 561 column 5 – Warning: missing
    • line 613 column 5 – Warning: missing
    • line 624 column 5 – Warning: missing
    • line 624 column 5 – Warning: missing </div>
      line 716 column 2 – Warning: missing
    • line 748 column 8 – Warning: <input> element not empty or not closed
      line 751 column 7 – Warning: discarding unexpected </input>
      line 763 column 1 – Warning: <input> element not empty or not closed
      line 764 column 1 – Warning: <input> element not empty or not closed
      line 765 column 1 – Warning: <img> element not empty or not closed
      line 766 column 1 – Warning: <input> element not empty or not closed
      line 769 column 63 – Warning: <img> element not empty or not closed
      line 771 column 58 – Warning: <img> element not empty or not closed
      line 803 column 3 – Warning: missing
    • line 814 column 62 – Warning: unescaped & or unknown entity “&.url”
      line 814 column 106 – Warning: unescaped & or unknown entity “&.page”
      line 814 column 117 – Warning: <img> element not empty or not closed
      line 816 column 91 – Warning: <img> element not empty or not closed
      line 818 column 81 – Warning: <img> element not empty or not closed
      line 833 column 2 – Warning: missing
    • line 876 column 1 – Warning: discarding unexpected </div>
      line 883 column 10 – Warning: discarding unexpected <body>
      line 894 column 79 – Warning: unescaped & or unknown entity “&pid”
      line 894 column 89 – Warning: unescaped & or unknown entity “&java”
      line 894 column 7 – Warning: <img> element not empty or not closed
      line 907 column 179 – Warning: <img> element not empty or not closed
      line 164 column 234 – Warning: <img> lacks “alt” attribute
      line 165 column 261 – Warning: <img> lacks “alt” attribute
      line 271 column 4 – Warning: <img> lacks “alt” attribute
      line 730 column 1 – Warning: <table> lacks “summary” attribute
      line 741 column 1 – Warning: <table> lacks “summary” attribute
      line 764 column 1 – Warning: <input> proprietary attribute “border”
      line 769 column 63 – Warning: <img> lacks “alt” attribute
      line 771 column 58 – Warning: <img> lacks “alt” attribute
      line 910 column 1 – Warning: <script> inserting “type” attribute

      0 errors / 54 warnings

    Thread Starter lilypetals

    (@lilypetals)

    whoaa whoaa what the heck is all that!? don’t scare me! where are you seeing those things?

    were you trying to validate my blog or something? i’m not really a tech person, so i can’t understand css talk 😛

    Calm down 🙂

    Your blog looks very nice

    In Firefox (the browser) with the Add on (used to be called Extensions, now called add ons) Html Validator, when you view source you get a list of all the errors.

    I should have put the errors in code tags when pasting, a lot of them were list elements.

    Don’t worry too much about it, start at the beginning, particularly with the div or divs that seem to be messed up, make sure all image elements are closed and that will probably do the trick

    Here are closed divs and closed lists

    </div
    
    </li>
    Thread Starter lilypetals

    (@lilypetals)

    Hi,

    This is what I have right now, for my Blogroll section:

    <img src=”http://www.niquehappy.com/allnewimages/nH-BlogRoll.jpg&#8221; alt=”nH Blog Roll”/>

    <?php get_links_list(‘id’); ?>

    As you can see on the blog: http://www.niquehappy.com/blog/ the image is on top of the normal text heading.

    What am I missing?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category Heading Image’ is closed to new replies.