• My URL is http://www.trashmedia.co.za.

    I have been using the Comicpress theme for months, and I love it. There is one little thing that is bugging me, and that is if you navigate to the archives page, you will see that:

    – In the search section at the top, the input text field under the word ‘Search’ doesn’t apply the CSS of the theme; it’s simply Arial 12pt, or something like that.

    – The alignment of the ‘search’ and ‘clear’ buttons is off.

    – There are huge gaps between the categorised posts (for example, between ‘November’ and ‘October’ there is a massive white space, that seems a little uneccesary.

    How do I go about adjusting the various points above? With regard to the first two, I have looked seriously at the CSS, and can’t come right.

    Please help, chaps. I’d appreciate it. Also, I hope you like my comic. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    1. Your search box does have the stylesheet applied to it; you just don’t have a style that actually applies to it in the CSS. The identifier of that box is “s” so I’d look in your CSS for anything that applies to #s and make sure it’s got the right font and such.

    2. That’s a very weird way of doing a form reset/clear, because it reloads the page, which makes no sense. I’d edit the code and change it from this:
    <table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><small>Search:</small></td></tr>
    <tr><td><form method="get" id="searchform" action="/narchives.php">
    <input type="text" value="" name="s" id="s" size="47" />
    <input type="submit" id="searchsubmit" value="Search" />
    </form></td><td><form method="get" id="searchformclear" action="/narchives.php">
    <input type="hidden" value="" />
    <input type="submit" id="searchsubmitclear" value=" Clear" /></form></td></tr></table>

    To this:
    <table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><small>Search:</small></td></tr>
    <tr><td><form method="get" id="searchform" action="/narchives.php">
    <input type="text" value="" name="s" id="s" size="47" />
    <input type="submit" id="searchsubmit" value="Search" />
    <input type="reset" id="searchsubmitclear" value=" Clear" /></form></td></tr></table>

    That would make your buttons line up and also the clear button from reloading the archives page pointlessly.

    3. The excessive whitespace is because of all those BR’s. Look at this:
    ...Weapons getting lost.</a><br />
    <h3><strong><br/><br/>October 2006</strong></h3>...

    That’s three line breaks inbetween the end of one line and the beginning of the next section. Modify the code to remove those two line breaks at the beginning of each section. It’s already in an H3, you don’t need to explicitly break it.

    Thread Starter fokjulle

    (@fokjulle)

    Thanks. It’s all helped.

    Except number 3. Where do I edit and find that code?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    That code is most likely part of some sort of loop in the archives.php page.

    Thread Starter fokjulle

    (@fokjulle)

    I’ve had a look at the archives.php and archive.php pages, and can’t find any ‘<br>’ tags, to be honest. I’ve also looked at the Comicpress native archives page ‘narchives.php’, and can find no ‘<br>’ tags either.

    I’m happy to put the pages onto my server for download, if it means that you can have a look for me, and try help out.

    Oh, and something odd has happened: after I adjusted point number 1, as you suggested in your previous post, everything worked out fine. Excepting that, now the size of the font in the Comments text field (under a blog entry) has decreased somewhat. Why has this happened?

    Thread Starter fokjulle

    (@fokjulle)

    Nope, I can’t fix it… Weird.

    Help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comicpress theme question.’ is closed to new replies.