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 »

Problems with aligning footer widget


  #1  
Old Apr 5, 2012, 05:31 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Atahualpa 3.7.3
Wordpress Version 3.3.1
newlayout.tribe-online.de (test url)

I am trying to create 3 Footer widget areas similar to the ones on stadtkometen.de - each of the same width and with space between each of them while all 3 widgets should only consume the width of the body without the sidebar. my tag is

PHP Code:
<?php bfa_widget_area('name=Fusszeile&cells=3&align=7&width=300'); ?>
What am I doing wrong?

P.S.: Tried to figure settings with FireFly/Dragonfly in Opera but canīt get behind them

Last edited by juggledad; Apr 5, 2012 at 05:39 AM.
  #2  
Old Apr 5, 2012, 05:45 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you have put the new widget code in the ato->Style & edit FOOTER->Footer: Content then it will spread the width of the container since the footer is the width of the container.

You could add a margin-left and margin-right and adjust the width of the table that holds the widget area,
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 5, 2012 at 06:43 AM.
  #3  
Old Apr 5, 2012, 06:06 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
My footer spans over the same area that the header - so over the area of the main body plus the sidebar.

The other point is that I dont seem to get to 3 widgets having distance from each other and only taking the same space - have a look at the site pls

P.S.: You just got a donation
  #4  
Old Apr 5, 2012, 06:46 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Try this out the following to your CSS inserts
HTML Code:
#fusszeile {width: 75%;}
#fusszeile td {border: solid 1px red;}
the 2nd part is just put in so you can see the area that each of the widgets actually takes up
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 5, 2012, 06:56 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Did, check the result online please
  #6  
Old Apr 5, 2012, 07:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
change
HTML Code:
#fusszeile {width: 75%;}
to
HTML Code:
#fusszeile {width: 75% !important;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Apr 5, 2012, 07:04 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Very good - Impressive!

Last thing is to get them all in the same size of about 325px with a little space in between.

Current entries:
PHP Code:
<?php bfa_widget_area('name=Fusszeile&cells=3&align=9&width=325&before_widget=<div id="%1$s" class="footer-widget %2$s">&after_widget=</div>'); ?>
HTML Code:
#fusszeile {width: 75% !important;}
#fusszeile td {border: solid 1px red;}
Is it possible that I have to create 3 seperate tablesin order to achieve space between them?

Last edited by Hody; Apr 5, 2012 at 07:13 AM.
  #8  
Old Apr 5, 2012, 07:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
there are several alternatives
- add border-spacing (#fusszeile {width: 75%; border-spacing: 10px;}) though this will add teh spacing aroune all sides
- make the widget area a 5 cell widget area, specify cell 2 and 4 the width of the space you want and don't put anythng in them
- use padding in the <td>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Apr 5, 2012, 08:04 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Tried border spacing - fine but also moves the widget further from the buttom of the body.

Padding - very good to leave some space from the borders.

But I think option 3 with the 5 cells might work best - though I still have not figured how to assign each cell its own size - which you recommend.
  #10  
Old Apr 5, 2012, 08:14 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Ok, thanks to your help I think I got this figured as well - check the site.

Last but not least, is it later possible to style each single widget, so for example the the 2 spaceholder widgets dont have borders, while the others do? Used "empty-cells:hide; - works fine

So any chance to individually stlye the remaing three cells with or without border?

Last edited by Hody; Apr 5, 2012 at 08:42 AM.
  #11  
Old Apr 5, 2012, 09:44 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can style any thing al long as you can create a css selector for it. each widget area has a unique ID that you can use for the styling. Just use firebug to look at the code and find the ID. Remember to use a '#' before the ID name In the CSS selector.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Apr 5, 2012, 09:53 AM
Hody's Avatar
Hody
 
156 posts · Apr 2012
Thanks once more - itīs like "fusszeile_1" to "fusszeile_5" in my case, no?

#fusszeile_1 {color: #FFFFFF;} for example only colors the heading what, but not the tags in the cloud? (I assume because there is a CSS behind the cloud already).

And another question, how do I accomplish this with the rss-box in the header zone, I tried #rss-box, #logoarea but nothing seems to work. I need to overwrite the colors for LINK and HOVER as we want it to be white and the body is white as well - so the regular link color would be Black (but we need white for the RSS Section).

Last edited by Hody; Apr 5, 2012 at 09:58 AM.
  #13  
Old Apr 5, 2012, 10:03 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
All of the tags in the tag cloud widget are actually links (<a>) so you would have to write a CSS selector that would apply to that element.

This is where firebug becomes so important to learn. Once you want to start styling
a things outside of the theme options you must learn how to find the element involved determine the CSS selector that will be applied and then code the rule you want to use.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
align, footer, widget, width



Similar Threads
Thread Thread Starter Forum Replies Last Post
images not aligning doctordan Center area post/pages 3 Apr 24, 2011 05:40 PM
Twitter Widget causes Comments box to dissapear + footer widget styling shadowoflight Sidebars & Widgets 7 Apr 21, 2011 11:41 AM
[SOLVED] Site footer - problems elemenopee Center area post/pages 3 May 7, 2010 09:17 AM
[SOLVED] aligning slideshow gallery within custom widget area rinoa3108 Header configuration & styling 3 Dec 30, 2009 04:46 AM
Widget text not aligning correctly in sidebar StudioGal Sidebars & Widgets 2 Apr 14, 2009 09:08 AM


All times are GMT -6. The time now is 12:22 AM.


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