WordPress.org

Ready to get started?Download WordPress

Forums

How do I add a sidebar to a theme that donent have one? (13 posts)

  1. adamswbrown
    Member
    Posted 8 years ago #

    Im currenty running the Foliage Mod theme (editied) over at Adambrowndesigns.co.uk I want to add a sidebar to this theme, but im not sure how to do it? the theme allows asides (wich i dont want) but I want the sidebar were the asides are. Is it doable, and if so how do i?

  2. moshu
    Member
    Posted 8 years ago #

    Internet web design
    I have a wide range of experience with web design as I have been working with the internet for around seven years. I am fluent in HTML, CSS and PHP

    Hmmm... the above is a quote is from your website.
    Just re-design the theme to have a sidebar :)

  3. ryoken
    Member
    Posted 8 years ago #

    Assuming that he actually needs help:

    I find it easiest to keep a seperate sidebar.php so design a sidebar (usually some sort of ul in a div) and then import it into the files where it matters. Edit the css in style.css till you get what you want.

  4. adamswbrown
    Member
    Posted 8 years ago #

    So there is nothing that i have to be concerned with - in ters of what the sidebar must contain?

    Also how do i get the Ajax - simular posts function of the theme, it works on the authours site?

  5. ryoken
    Member
    Posted 8 years ago #

    A sidebar doesn't even need to exist, unless you want one. Whatever you put inside it is up to you.

  6. adamswbrown
    Member
    Posted 8 years ago #

    Ok people, i got a sidebar on the page. but how do i re anrange my content to the side of the sidebar? (im not amaizng at css lol)

    this is the css for my sidebar

    #sidebar
    {
    margin-top: -23em;
    padding: 14px 0 10px 0;
    margin-left: 600px;
    width: 100px;
    }

  7. ryoken
    Member
    Posted 8 years ago #

    Take a look at the shorts css. Your theme, "broad leaf", has support for two columns build into it but only for asides. If you but your sidebar in the div that was designed for the css, it should work.

    btw, the link to your site in your profile has a comma in it.

  8. adamswbrown
    Member
    Posted 8 years ago #

    Ill take a look at it :) thanks v much

  9. adamswbrown
    Member
    Posted 8 years ago #

    ok - i may have changed theme - but its still a Heminway variant. How do i get the AJAX stuff to work?

  10. ladydelaluna
    Member
    Posted 8 years ago #

    "How do i get the AJAX stuff to work?"

    What "AJAX stuff" and where? Since you've changed the theme, what specifically is your end goal?

  11. adamswbrown
    Member
    Posted 8 years ago #

    Apologies - if you look at the theme - there is a 'Simular' and 'freshness' links on the authors site these links do things like show tagged posts and the freshess link shows new posts. It does this via scriptiolous and other AJAX stuff - the scirptis are in the theme, and it should work. Example :http://themes.wordpress.net/testrun/?p=9 is an example. The links are there and they should work but they dont. Any ideas?

  12. ryoken
    Member
    Posted 8 years ago #

    That link is useless unless you specify a theme.

  13. adamswbrown
    Member
    Posted 8 years ago #

    sorrry the theme is fauxed 1.0 - does that help?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags