Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

sidebar: more widget areas


  #1  
Old Oct 17, 2011, 02:38 PM
the_10us
 
5 posts · Oct 2011
I have a right-side sidebar in the Atahualpa theme. This sidebar is one colom (1 cell). Is it possible to split this cell into e.g. 4 or 5 separate cells? I will place e.g. a search box on the top of the sidebar, and some text or calendar on the bottom of the sidebar.

I've searched this forum and tried to add widget area in a text box in the right sidebar.
Quote:
<?php bfa_widget_area('name=test&cells=3&align=8&align_2 =8&align_3=8&before_widget=<div id="%1$s" class="right-sidebar-widget %2$s"?>
. I have installed the exec php plugin to get PHP code in text area in the widget work. But it doesn't work.

Can someone help me?
Thanx!
  #2  
Old Oct 17, 2011, 03:43 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Not quite sure what you want for the sidebar. Can you attach a small image? Also your code for the new widget area has a space after &align_2. That could be a typo but you also had unnecessary align statements for cells 2 and 3. Since you want them all the same you only need the single align parameter. Here is what I would use based on your code. Also do you want the content in the cells to be aligned to the left center which is what 8 does?

HTML Code:
<?php bfa_widget_area('name=Right Sidebar&cells=3&align=8&before_widget=<div id="%1$s" class="right-sidebar-widget %2$s">&after_widget=</div>'); ?>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 17, 2011, 04:17 PM
the_10us
 
5 posts · Oct 2011
I have attached a PDF file. I hope this explain more what i want. My idea is to put a text box in area 1 and a calendar on the bottum (area 4). Area 2 and 3 can be empty or used by another widget.
Attached Files
File Type: pdf sidebar.pdf (87.1 KB, 819 views)
  #4  
Old Oct 17, 2011, 04:39 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
All you have to do is stack the widgets in the sidebar and then if you want space between them you can use CSS.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Oct 17, 2011, 05:00 PM
the_10us
 
5 posts · Oct 2011
It sounds simple Can you maybe explain how to do this? My knowledge of CSS is not that big at this time. I learn a lot of it from my first website I am making now.

Suppose I want a search box at the top and a calendar at the bottum. I just add the widgets to the right sidebar area and after that using CSS to arrange the space between them (with the stack command?).

Could you give me an example of code?
  #6  
Old Oct 17, 2011, 05:27 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
The CSS will depend on the widgets you use and how far you want them spaced. Is there some reason you don't want to just put your Search widget with the calendar right below and then add more widgets between when you want?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Oct 17, 2011, 05:40 PM
the_10us
 
5 posts · Oct 2011
The only widgets in the right column is a search function and a calendar. I think it's optically better to distribute them to the height of the column. I would therefore like both of them are justified on the column, the length of which in turn depends on the height of the pages. Therefore I thought to sidebar divided into e.g. 4 areas to solve my 'problem'.

But you think it is possible with a CSS code (stack?)
  #8  
Old Oct 17, 2011, 06:06 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I am not sure how you would get the search to stay on the top and the calendar on the bottom even with 4 widget areas. The problem as I see it with that solution is you have to scroll to see the calendar. I know of no stack CSS function.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Oct 18, 2011, 12:36 PM
the_10us
 
5 posts · Oct 2011
Thanx for your answers. But perhaps it is not clear. I have another picture added (the site isn't online yet). I want a search box at the top right sidebar and a textbox at the bottom right sidebar (justified). Scrolling should not be necessary, as the page height is determined by the text on the item page. Actually, I just want to justify the whole column, that must be possible i thought? I can't find out how and where to find or change the code.
I hope you, or someone other, can help me.
Attached Files
File Type: pdf box.pdf (113.9 KB, 747 views)
  #10  
Old Oct 18, 2011, 01:33 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Please explain what you mean by justify the column.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Oct 18, 2011, 03:08 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Why aren't you just putting the widgets you want in the sidebar? You can have more that one widget in the right sidebar
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to style text widget in bar1 (header) differently than other widget areas zingo5 Sidebars & Widgets 1 Sep 28, 2011 08:11 PM
How to change widget areas order on widget page JFG Sidebars & Widgets 0 Apr 19, 2010 03:07 PM
Widget areas 1 to 4 Ddabrai Sidebars & Widgets 2 Aug 15, 2009 03:48 AM


All times are GMT -6. The time now is 07:41 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.