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 » Center area post/pages »

center column padding top and bottom


  #1  
Old Jan 21, 2013, 04:04 PM
DanDan
 
41 posts · Aug 2010
i want the background on the site white but on the static home page I want it burgundy. I made an image that fills the home page but I have a white area 15px high at the bottom, between the image and the footer. I have removed all the instances of padding I can find but cannot remove it. In

Center column style

I changed the background to burgundy and that changed the background and made the white at the bottom disappear but it changed the background to burgundy for the whole site. Changing it back to white I changed the padding to

padding: 0px 0px 0px 0px;

but it did not remove the padding on the bottom. How can I remove this padding?

Thanks,

Dan
  #2  
Old Jan 21, 2013, 04:05 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Link to site please...
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 21, 2013, 04:17 PM
DanDan
 
41 posts · Aug 2010
Currently under a temp domain

http://impactdesign004.com
  #4  
Old Jan 21, 2013, 04:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
use CSS to change the background color and in the CSS selector prefix it with 'body.xxxxx' where xxxxx is a unique class that shows on the <body...> statement when on the front page and not on other pages.

You can use firebug or just look at the page source to figure this out.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 21, 2013, 05:16 PM
DanDan
 
41 posts · Aug 2010
I'm using an image in Body, Text and Links and a color on Center column style. How can I cause it to switch backgrounds or center column style on the index page? It seems that the problem is that the padding statement in Center column style is not working. I have put in several different values but they have no effect. There is still padding at the top and bottom of the center column.

Dan
  #6  
Old Jan 21, 2013, 06:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this in the CSS Inserts
HTML Code:
[html]body.home {
    background: none repeat-x scroll 0 0 #00ffff ;
}
[/html]
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 21, 2013, 07:35 PM
DanDan
 
41 posts · Aug 2010
That changed the overall background but did not change the background of the center column, where the problem is.

See http://impactdesign004.com
  #8  
Old Jan 21, 2013, 08:06 PM
DanDan
 
41 posts · Aug 2010
I have it now. I used your code to add a background image for the home page and another for the other pages and mad the center column background transparent and it works fine, Thanks!

but I still have one question, why was I unable to use center column style to make the top and bottom padding disappear using padding: 0px 10px;?
  #9  
Old Jan 21, 2013, 08:31 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
sorry, your first sentence looked like you wanted the background on the site to change.
if you want to change teh center column you need to use 'td#middle'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Space at bottom of Center Column MajorTom Header configuration & styling 2 Apr 16, 2012 05:29 PM
[SOLVED] Round corners on bottom of center column inkdork Center area post/pages 2 Mar 28, 2012 10:49 PM
Center Column Padding Problem dogblog43 Center area post/pages 1 Nov 10, 2011 07:10 AM


All times are GMT -6. The time now is 12:26 PM.


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