Adding more than one custom widget area to the center column
I have one widget area in the center column above the main part of the page an right below the header area.It works fine and its called 'nav'. I want to add another in the main page area somewhere below some text. (This is a regular page, not post). 1), I am not sure where to add the code in the loop area and 2). When I add another area with a different name, say 'concert' it renames existing 'nav' to 'concert' in my widgets area so that I only show one widget area. Even worse, when I delete the code for 'concert', 'nav(that is now called 'concert' for some reason) disappears from the page. I have to either rename it to 'concert' in the code or its gone.. Weird... here is my page http://www.the80schild.com:confused:
|
what version of Atahualpa are you using. There is a bug in the early versions that got the new widget area (see http://forum.bytesforall.com/showthr...ghlight=bugfix)
|
I have an older version 3.4.1. I had some code changes to customize the header and Pagebar. How can I upgrade and still keep my code changes? I dont know alot about php, it took about a week to get those changes to work :(
|
Any changes to the base theme code you will have to re-do. This is why I recommend people not change the code. Any options you have set will not be lost because they are in the database.
You will need to refer to your documentation of the changes you made. You can compare the modules, but don't be suprised that from one release to another things change, stuff is moved, new modules are creates, old code is wiped out. It could happen. Try doing a compare of the new module to the one you changed. Good luck. |
Okay, I updated and its all good, I want to style the center page widget. I try using any of these div or class in the css inserts but the widget is always the default style. Its not a text widget but a recently updated pages widget. so I don't know if this is possible, I just don't like the way it looks :( I don't want the sidebar ones to change just the new widget area
Here is the source code: <div id="my_updated_concerts" class="bfa_widget_area"><div id="recently_updated_pages-5" class="widget Recently_Updated_Pages"> |
Quote:
<ul><li class='page_item page-item-194'><a href='http://www.example.com...'>Heart Concert Tour</a> on Sun - February 28, 2010</li> <li class='page_item page-item-196'><a href='http://www.example.com/..'>Journey Concert Tour</a> on Sun - February 28, 2010</li> Is there a way to apply css to these? Maybe globally instead of each page # 194,196 etc? Im just trying to make this list more readable. It has massive pages in a list and just gets difficult to read. |
what is the code you used to define the new widget area in the center?
What widget have you added there? |
I used
<?php bfa_widget_area('name=My updated concerts&align=9'); ?> for the widget area I used a widget from a plug in called Recently Updated pages by Ehsanul Haque The idea is to list pages that get updated. Since they are concert pages and constantly get updated, this puts the new dates added on top automatically. Easier than having to do it manually. You can see the widget at the bottom here. I just think it needs a little style, its hard to read. |
it looks like you no longer have the CSS using the 'div#my_updated_concerts' in your code.
You have to know how CSS works, there are rules of precedence. take teh following HTML from your page HTML Code:
<div id="my_updated_concerts" class="bfa_widget_area"> HTML Code:
div#my_updated_concerts {color: blue;} HTML Code:
div div {color: yellow;} Given that the Atahualpa CSS is about 3200 lines, you can imagine that the general cases have options set and you need to be specific to override them. |
Thanks Juggledad, I went for a new approach using wp-tables reloaded to customize some info instead. Gave me the look I wanted. thanks for the help!
|
All times are GMT -6. The time now is 04:24 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.