• Resolved orangeco

    (@orangeco)


    Hello, I’d like to run a fur-column footer in my wordpress with a bold title at the top of each column and a set of links running underneath.

    Are there any good examples of this and what code would I need to use?
    Thanks, Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try this HTML;

    <footer>
     <div class="col">
      <h5>Bold Title</h5>
      ...
     </div>
     <div class="col">
     <h5>Bold Title</h5>
      ...
     </div>
     <div class="col">
     <h5>Bold Title</h5>
      ...
     </div>
     <div class="col">
     <h5>Bold Title</h5>
      ...
     </div>
    </footer>

    And this CSS;

    footer .col {
     /* Edit: Forgot float */
     float: left;
     width: 20%;
     margin: 0 2.4%;
    }

    for instance, have a look into the code of Twenty Eleven for a three column widgetized footer;
    can be easily expanded to four columns.

    Thread Starter orangeco

    (@orangeco)

    Thank you Andrew, that looks good but the four columns have appeared under each other and not side by side.

    My CSS looks like this:

    /*
    Theme Name: twentytwelve-child
    Description: A Child Theme of TwentyTwelve
    Template: twentytwelve
    */
    
    @import url("../twentytwelve/style.css");
    
    footer .col {
     width: 20%;
     margin: 0 2.4%;
    }

    Alchmyth – thanks for your reply. What is widgetized vs. HTML? Can I copy and paste the twentyeleven HTML into my footer?

    if you are fine with static html, ignore my reply.

    possibly add float: left; to the style of footer .col

    Thread Starter orangeco

    (@orangeco)

    Fantastic, thanks both. adding float: left worked.

    I take it that means there are widgets I can install to help me edit the footer.

    Hi,I am new to word press I am using Evolution theme from elegant themes.In footer I have 4 columns.but whenever i add content to 4th column its coming down and also I need to add 5th column. I tried in footer.php but not working..
    Please help me..
    thanks

    @zxcvb1234

    please ask the developer of your theme;
    https://codex.www.ads-software.com/Forum_Welcome#Commercial_Products

    also, do not hijack an existing topic – start your own; https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Four Column Footer’ is closed to new replies.