• What i’m trying to figure out how to do is how to combine the search and archives into one gray box. As you can tell i’m pretty new to this and I don’t know the correct terminology. I would also like to have bullets next to the actual links under the Links heading on the left but everytime I try it comes up as bullets on all the headings like Links, Categories and Other etc. I also want to have the Meta heading as well as all the links under it not be displayed. And on my template page the left column is shortened even though its using the same css code. I realize this is a lot but if you can help on any I appreciate it, Thanks.
    The site address is https://www.michaelpeteuil.com, the template is on https://www.michaelpeteuil.com/template.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • <li id="search"><br />
    <label for="s">Search:</label><br />
    <form id="searchform" method="get" action="/index.php">

    <div><br />
    <input type="text" name="s" id="s" size="15" /><br />
    <input type="submit" name="submit" value="Search" /><br />
    </div><br />
    </form>
    </li>
    <li id="archives">Archives:

    <ul>
    <li>*link*</li>
    </ul>
    </li>
    <br />
    That’s the code for your seach and archives boxes. Now, I’m no expert, but I’d recommend checking your css for the properties that make it like this. Removing the bottom of the search border and the top of the archive border and removing the padding could do it, to the best of my knowledge.

    on a side note, why did posting that snippet completely fuck up the page?

    Thread Starter mygly

    (@mygly)

    Well I want to remove one of the boxes and put the serach or archive inside the others box, so that there is only one. When i look at the source on the page through the browser I can see a bunch of stuff, but when I go to edit the index.php none of it is there… I’m wondering if its possible to edit those.

    Your sidebar code is most likely included into index.php as the page is being loaded, so it should reside in a different file.

    Putting it all in one <li></li> element should fix things.

    Thread Starter mygly

    (@mygly)

    putting what all in one
    <li></li>?

    if you look at the code, both the search element and the archives element are wrapped up in list item tags. If you take both elements and wrap them in only one set of tags, it should work much better.

    Thread Starter mygly

    (@mygly)

    Thank you Moridin, your <li> </li> tip worked, I also commented out the meta links/information. The only things I really have to still figure out is how to get the actual links to be the only things to have bullets when I put them in, because the header “Links:” and the header “Search:” and stuff have bullets next to them. Also how to fix my sites look in IE, for some reason the <hr> isn’t lined up with the top of the columns like it is in firefox, and also the height: 95% doesn’t seem to work for the left column in IE.

    I’m glad I could help! I actually have very little web development experience, so I’m trying to learn more by looking around at stuff like this and learning by thinking of what just makes sense.

    On a side note, I don’t see any bullets anywhere on your site o _o. Maybe you already fixed the problem?

    Thread Starter mygly

    (@mygly)

    Well i don’t have them up right now because when i do it bullets virtually every heading because they are all in <li>‘s so i’d probably have to create a special id or class for certain content. All I want bullets on is the links under “Links:” and things like that.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Combining search and archives into one column?’ is closed to new replies.