WordPress.org

Forums

[resolved] Difficulty adding sidebar to custom theme (6 posts)

  1. Neoture
    Member
    Posted 1 year ago #

    Hello all,

    I am running a demo site trying to add a sidebar to a custom theme. I am not sure where to start and have tried adding some plugins/widgets, but it appears the php is not calling any sidebar. What do you guys recommend for a step-by-step approach? Your help is most appreciated.

    The demo site is here:
    wavingsun.com

    Don

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. Neoture
    Member
    Posted 1 year ago #

    The sidebar widget is enabled, but is not displaying in the theme. I have it specified in the CSS as well. I am trying to figure out what is preventing it from displaying.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you called it correctly with get_sidebar()?

  5. Neoture
    Member
    Posted 1 year ago #

    Great! I researched how/where to call it and correctly called it in my index.php file. Now my only dilemma is how to make it fit to the right of the content? I have content set at 685px and sidebar at 250px. Any thoughts?

  6. Neoture
    Member
    Posted 1 year ago #

    I placed the main and sidebar divs inside a container div. I am trying to figure out how to separate the two divs when adjusting padding. See website for example

    container width 985px
    main width 785px
    sidebar width 200px

    wavingsun.com

Topic Closed

This topic has been closed to new replies.

About this Topic