Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Add Margins inside Center Container (http://forum.bytesforall.com/showthread.php?t=7112)

shadypeeks May 14, 2010 10:52 AM

[SOLVED] Add Margins inside Center Container
 
Using 3.4.6 with Wordpress 2.9.2

I have tried to add padding and margins to every possible ATO section that would pertain to the text within the center container, but cannot figure out how to add margins inside of the container. My text is jammed to the left side of the center container.

Each time I try to pad or add margins it adds them to the actual box, not inside for the text.

To view my problem first hand, visit www.eventtalentresources.com.

Any thoughts?

Thanks - Craig

lmilesw May 14, 2010 04:50 PM

What is in your ATO>Style & Edit CENTER COLUMN>Center Column Style box? If there are padding setting there they must be getting overridden somewhere else. Most likely in CSS Inserts.

shadypeeks May 17, 2010 08:49 AM

Thanks for your help. Below is the information you have asked about. If you can think of anything else it might be, I would certainly be appreciative.

The default code is in the Center Column Style box:

padding: 10px 5px;


Below is the contents of my CSS insert box, with no additional inserts.

div#menu1 ul.rMenu {
background: transparent;
}
ul#rmenu2 li, ul#rmenu2 li a {
background-color: hover !important; /* or use none */
filter: alpha(opacity=80) !important;
-moz-opacity:.80 !important;
opacity:.80 !important;
}

div.post {
opacity: .85;
-moz-opacity: .85;
filter: alpha(opacity=85);
}


ul.rMenu li {
padding-top: 0px;
margin: 0px 3px 0px 3px;
background: none !important;
}

lmilesw May 17, 2010 09:14 AM

Look and ATO>Style POSTS & PAGES>Body Box and take out any padding there. By default this is blank. It looks like you have padding there.

shadypeeks May 17, 2010 09:47 AM

well, there was padding in there as you suggested. It is now removed and the only code in the Body Box is for color and background. Problem with margin persists.

Any additional thoughts?

lmilesw May 17, 2010 10:23 AM

I cannot figure out where the padding:0 is but you should be able to add the following to CSS Inserts to correct.

div.post-bodycopy {
padding:10px !important;
}

Right now I see the following code for the body copy and I am confused by the background line.
There is none and a color indicated along with repeat when there is no background image?????

div.post-bodycopy {
background:none repeat scroll 0 0 #EEEEEE;
color:#000000;
padding:10px;
}

shadypeeks May 17, 2010 10:37 AM

Yes, that did work.

There is a background image on every page that covers the header and body.

ATO>Body Text Links>Body Style:

font-family: arial; times new roman; courier
font-size: 1.1em;
color: 000000;

background: url(/wp-content/themes/atahualpa346/atahualpa346/images/background_3.gif); color: #B2B7B7;


And I am using a "Custom Post Background" widget, created by Blogtap, to change the background for each other page. This is probably not the best or "right" way, but it's the only way i knew how to get it done. If you have any thoughts or suggestion for improvement...trust I am all ears.

Thank you very much for your help though!

lmilesw May 17, 2010 10:45 AM

Hey... If it works. Great. Sometimes the time required to find out the "real" problem just isn't worth it.


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

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