WordPress.org

Ready to get started?Download WordPress

Forums

how to add extra widget area in twenty eleven (5 posts)

  1. greenfuture
    Member
    Posted 2 years ago #

    Hi - trying to add a dynamic sidebar at the top of the theme ...to the right of the title and description ...an extra widget area in twenty eleven.can`t find clear instructions on the subject and would appreciate help here . i know its adding code in functions.php but cant find the code and where to place it . elaborate explanation would help many of us novices to word press

    my plane it to add some widgets there

    Thanks

  2. michael.mariart
    Member
    Posted 2 years ago #

    You will want to check out register_sidebar() and register_sidebars() to create the sidebars for your site. These can go in your functions.php file almost anywhere, but I'd suggest keeping them with yur current sidebar calls.

    Once you've done that you need to add the sidebar to your template file/files. To do this, the easiest way is to follow what is already in your template files. The main function that's used is dynamic_siebar(0 so look for that and you'll see how it's been done.

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  4. greenfuture
    Member
    Posted 2 years ago #

    thanks for the tips

    i manged to install a new side bar to the header BUT now need to style it
    http://etgarlcc.com/
    its under the title and i need it to be elongated and to the far right end of the white header area... How can i style it to look like long rectangular to the right of title ?

    Help!!!

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    one possiblity:
    #sidebar-primary{position:absolute;right:0;top:0;width:33%;}

    try to use a tool such as Firebug http://getfirebug.com/ to find the involved styles; then use for instance css positioning http://www.w3schools.com/css/css_positioning.asp

    it is beyond the scope of this forum to assist with detailed fundamental formatting questions.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.