Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] can't get right padding on search box to change


  #1  
Old May 15, 2012, 12:06 PM
mtouchette
 
9 posts · Apr 2012
my container padding is at the default of 0,
my logo area right padding is set to 0'
i have modified the searchbox class as follows:
Code:
.searchbox {background-color: green; margin-right:0px;}
the green shows, but the padding has no effect.

i've used firebug to look up elements and selectors and tried nearly a gazillion different things but just cannot get it to work. :/

what (obvious thing) am i missing?

http://pbn.mtouchette.com

thanks in advance!
  #2  
Old May 15, 2012, 12:34 PM
juggledad's Avatar
juggledad
 
23,630 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you want to set the top margin on 'div.searchbox-form input.text'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 15, 2012, 01:19 PM
mtouchette
 
9 posts · Apr 2012
thank you for replying.

top margin moved it vertically; i need it shifter to the right.

i thought maybe you were testing me ;-) so i tried
Code:
div.searchbox-form input.text {margin-right: 0px;}
with no luck. i also tried it as zero right padding. then i tried a variety of things using the selectors you provided -- still nothing.

Last edited by mtouchette; May 15, 2012 at 01:22 PM.
  #4  
Old May 15, 2012, 01:59 PM
juggledad's Avatar
juggledad
 
23,630 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what effect are you trying for? are you trying to get teh white to be even with the left side? right side? what
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 15, 2012, 02:37 PM
mtouchette
 
9 posts · Apr 2012
i want the right edge of the text input box to match the right edge of the rss/comments line directly above. (so they are right-aligned)

the green was just for a visual development aid, i have removed it.
  #6  
Old May 15, 2012, 04:57 PM
juggledad's Avatar
juggledad
 
23,630 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try
HTML Code:
div.searchbox-form input.text {
    padding-right: 0;
    margin-left:  16px;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 15, 2012, 05:32 PM
mtouchette
 
9 posts · Apr 2012
pushed it right over. thanks! :-)

i did try changing the text align atone point, but never thought to give it a left margin.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change Footer Padding dutchess Post-Kicker, -Byline & -Footer 8 Jan 27, 2012 10:18 AM
[SOLVED] Style Inside a Table: How to change H1/2/3 padding? epsymp Atahualpa 3 Wordpress theme 2 Mar 5, 2011 07:13 PM
[SOLVED] How to change padding of top menu? shin Atahualpa 3 Wordpress theme 4 Feb 7, 2010 08:46 PM
Change padding on bullet list in center column? lhanft Forum How-To 2 Jul 16, 2009 08:51 PM


All times are GMT -6. The time now is 11:22 PM.


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