ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Alignment issue...

August 21, 2007 3:28pm

Subscribe [3]
  • #1 / Aug 21, 2007 3:28pm

    kybowhunter

    14 posts

    I’m by no means even a beginner coder… so bear with me if this crazy easy and something that anyone should know how to do…

    I downloaded the natheless theme from here http://www.nikhedonia.com/notebook/entry/free-template-natheless/

    and installed it with only a few minor problems that I’ve been able to search out and correct.

    On the sidebar I wanted to add “Categories” and the “Search” feature which I did, but my alignment is all out of whack…

    can anyone point me in the right direction on how to correct?

    here is the code

    {assign_variable:master_weblog_name="default_site"}
    {assign_variable:main_template_group="natheless"}
    {assign_variable:news_weblog_name="news"}

          <div id=“news”>
          {exp:weblog:entries
    weblog="{news_weblog_name}”
            dynamic=“off”
            orderby=“date”
            sort=“desc”
            limit=“5”}
            <div class=“item”>

    {title}

              {entry_date format="%F %d, %Y"}
              {item_summary}
            </div>
          {/exp:weblog:entries}

    <div class=“archives”>

    Category Archives

           
              <ul>
              {exp:weblog:categories weblog="{master_weblog_name}” orderby=“title” sort=“asc” style=“linear”}
                  <li>{category_name}</li>
              {/exp:weblog:categories}
              </ul>
            </div>

    <div class=“search”>

                        {exp:search:simple_form search_in="everywhere"}
                        <h2 class=“sidetitle”>Search</h2>
                       
                        <input type=“text” name=“keywords” value=”” class=“input” size=“18” maxlength=“100” />
                       

                        Advanced Search
                       

                        <input type=“submit” value=“submit”  class=“submit” />

                        {/exp:search:simple_form}

    </div>
    </div>

  • #2 / Aug 21, 2007 4:42pm

    Ingmar

    29245 posts

    A link to your site would be helpful.

  • #3 / Aug 21, 2007 5:10pm

    kybowhunter

    14 posts

  • #4 / Aug 21, 2007 11:07pm

    allgood2

    427 posts

    I’d say the easiest fix is probably to embed the search tag with in the archives division. Otherwise, you’ll need to adjust the CSS on the search division to match the padding or margin that’s currently being used for the <div class=“archives”>.

  • #5 / Aug 21, 2007 11:27pm

    kybowhunter

    14 posts

    Thanks… your quick fix worked like a charm!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases