Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Change color of spacing between sidebar widgets


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 15, 2009, 06:37 PM
stivtaber
 
5 posts · Dec 2009
[SOLVED] Change color of spacing between sidebar widgets

WP 2.8.6
ATO 3.4.4

http://realindustryrecords.com/

There is a white space between my widgets that I want to be the same color as my widget elements.

I have already added the color I want to the Widget Container, Title Box, and Content Box elements, as well as adding the styling to my Left Sidebar style editor

using the following line in the above: background: #CCFF00;

Any thoughts? Cheers.

Last edited by stivtaber; Dec 15, 2009 at 06:41 PM.
  #2  
Old Dec 15, 2009, 07:14 PM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
that is caused by the bottom margin on the widget (ATO->Style WIDGETS->Widget Container) which is:
margin: 0 0 15px 0;
where the first is the top, then right, bottom, and left, so you have a 15px bottom margin.

While you could set it to 0, you would loose teh spacing, a simpler solution would be to style the background of the left sidebar (ATO->Style & configure SIDEBARS->LEFT sidebar style) to
HTML Code:
border-right: dashed 1px #CCCCCC;
padding: 10px 10px 10px 10px;
background: #CCFF00;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 16, 2009, 02:35 AM
stivtaber
 
5 posts · Dec 2009
tried that, didnt work. check out results.

http://realindustryrecords.com/
  #4  
Old Dec 16, 2009, 04:32 AM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
that's because you have TWO background rules and the second 'background;#ffffff;' overrides the first and so sets the color to white.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 16, 2009, 03:59 PM
stivtaber
 
5 posts · Dec 2009
What element in ATO has the second bgcolor #ffffff ? I looked through and couldnt see what it was.

Thanks muchly for the help.
  #6  
Old Dec 16, 2009, 04:03 PM
juggledad's Avatar
juggledad
 
22,269 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
The left sidebar styling
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Dec 17, 2009, 02:33 PM
stivtaber
 
5 posts · Dec 2009
Brilliant, thanks for your help.

Never would have got that on my own! pretty tricky.

Bookmarks

Tags
sidebar, widget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How change link color in sidebar? Spaceboy Sidebars & Widgets 9 Nov 5, 2009 06:23 PM
[SOLVED] Change background-color in right inner sidebar horsemansarts Sidebars & Widgets 2 Oct 14, 2009 06:05 PM
Changing color and font of sidebar widgets HavaLyon Sidebars & Widgets 5 May 13, 2009 06:47 PM
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 05:55 AM
How to change color of items in sidebar? aliferste Sidebars & Widgets 1 Feb 13, 2009 12:50 PM


All times are GMT -6. The time now is 08:03 AM.


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