WordPress.org

Ready to get started?Download WordPress

Forums

Theme: Mantra Limited Sidebar Capacity (7 posts)

  1. RussellSipe
    Member
    Posted 2 years ago #

    I use the Mantra theme. Unfortunately in the Widgets section Mantra only permits two widgets per sidebar. I wish to use one column but use 4 widgets in that column. What changes can I make to increase the capacity of the Sidebar One capacity?

  2. Kurt
    Member
    Posted 2 years ago #

    RusselSipe:

    If I understand your question correctly, you would have to define a 4 widget layout in your CSS and then add a new sidebar that inserts classes defined by your 4 widget layout. CSS is defined in your style.css file. The new sidebar would be defined in your functions.php file.

    After the sidebar is added, you can use the available widgets to fill your sidebar.

    Add a sidebar: http://codex.wordpress.org/Function_Reference/register_sidebar

  3. RussellSipe
    Member
    Posted 2 years ago #

    Thanks for the reply Kurt. Frankly I am not up to speed on CSS coding. I understood very little of what was in the page you linked me to.

    When you are working in the Mantra theme dashboard and then click on Appearance/Widgets function you are shown all the widgets that are available to you. On the right side of that screen in other themes I use I often get the option of dropping multiple widgets on a sidebar. Howeever with the Mantra theme I am only given the choice of dropping up to two widgets on Sidebar #1 and up to two widgets on Sidebar #2. I have defined the theme to only use one sidebar (need all the width in the main column I can get) therefore I am limited by the way Mantra lays out the Widgets function in the dashboard to only two widgets in my sidebar area. I am looking for a way to get around this shortcoming in the dashboard. I have looked at various php templates in the Appearance/Editor function trying to find a way to increase the number of widgets allowed in the sidebar #1 without success.

  4. Kurt
    Member
    Posted 2 years ago #

    RussellSipe:

    You may be able to get what you want by only writing additional CSS. But I think the solution would be to add a new sidebar and add CSS. Since this probably isn't an option for you, might I suggest looking for a theme that already has a 4 widget across layout. I don't think there's an easy way to get what you want without coding CSS and/or PHP.

  5. RussellSipe
    Member
    Posted 2 years ago #

    Kurt,
    The theme does permit widgets in the footer area so that is where I will put the additional widgets. Would have liked to put them in the sidebar but it seems that is not going to be possible given my lack of CSS/PHP coding. Thanks for the help. Much appreciated.

  6. Kurt
    Member
    Posted 2 years ago #

    RussellSipe:

    You're welcome!

  7. CryoutCreations
    Member
    Posted 2 years ago #

    :)) Those are called widget areas... areas....as in you can put as many widgets in there as you'd like. They are zones, you are not limited to 1 widget per area. Just drag your widgets there and see what happens.

Topic Closed

This topic has been closed to new replies.

About this Topic