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 »

[SOLVED] How to add 1 px solid line separators between sidebar widgets


  #1  
Old Jun 4, 2009, 01:59 PM
eftim's Avatar
eftim
 
16 posts · Jun 2009
Layout [SOLVED] How to add 1 px solid line separators between sidebar widgets

I would like to add 1px solid line separators between sidebar widgets.

I would also like to wrap some of my sidebar widgets in 1px solid line frames.

Any suggestions?

Thank you very much.
  #2  
Old Jun 4, 2009, 04:30 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can style the widget containers at ATO->Widgets->Widget Container: - For a solid black line use: 'border-bottom: solid 1px #000000;' BUT remember styles applied here will effect all widgets.

If in addition, or in case you just want to effect one widget, you need to look at the generated source and find the '<div id=...' and using that , create a css insert (ATO->HTML/CSS Inserts->CSS Inserts

If you wanted to put a red box around the pages widget, looking at the generated code for a page we see the pages widget's 'DIV' is
HTML Code:
<div id="pages" class="widget widget_pages">
so the CSS insert would be
HTML Code:
#pages {
border-style:solid;
border-color:red;
}
__________________
"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; Jun 5, 2009 at 01:46 PM.
  #3  
Old Jun 5, 2009, 07:06 AM
eftim's Avatar
eftim
 
16 posts · Jun 2009
Thank you very much. Now, how can I add a little padding between the widget and the separator?

Thank you.
  #4  
Old Jun 5, 2009, 08:03 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can play with the margin and padding in the ATO->Widgets->Widget Container try this
HTML Code:
border-bottom: solid 1px #000000;
padding: 20px 0 20px 0;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 5, 2009, 09:49 AM
eftim's Avatar
eftim
 
16 posts · Jun 2009
Thank you again. Now, when I do what you told me, appears too much padding ABOVE each widget, so the space between the widget and line above it is too big. Even if I write padding: 0 0 0 0;

What should I do
  #6  
Old Jun 5, 2009, 10:22 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what's the url so I can take a look
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
sidebar, sidebar.php



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add page menu separators evangelos Page & Category Menu Bars 4 Jun 24, 2009 10:00 AM
[SOLVED] Widgets do not show up as being available for sidebar LemBook Plugins & Atahualpa 4 May 20, 2009 07:48 PM
How to change dotted border line in the layout to solid line? araneum Atahualpa 3 Wordpress theme 1 Feb 21, 2009 06:40 PM
Set left sidebar widgets same distance from center area as right sidebar widgets daisy24 Sidebars & Widgets 2 Feb 19, 2009 05:11 AM
Stack Overflow at line: 353 and can't edit sidebar widgets kellya29 Sidebars & Widgets 1 Jan 6, 2009 08:10 PM


All times are GMT -6. The time now is 05:35 PM.


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