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] Center Column Out of Line with Sidebar (http://forum.bytesforall.com/showthread.php?t=20978)

adrian29630 Oct 6, 2013 09:52 AM

[SOLVED] Center Column Out of Line with Sidebar
 
Hi.

I allowed a client access to the backend of this site as she wanted to do some minor adjustments to the text. Unfortunately she appears to have done something which has caused the center column to drop down out of line with the side panel. She assures me she only added some *** above the existing text but this would not have caused the whole center column on every page to fall out of line.

I have spent hours trying to see what has caused this to rectify it but to no avail. The only clue I get in Firebug is that at the position of the h2 first line of text (i.e. the header text) there is a reference to margin-top: 26px; appearing on each page which I don't believe should be there, but I cannot find where this margin instruction is originating and as a result how to remove it if this is the cause.

The adjustments within Atahualpa to set the position of the center column and side bar are set by the use of the %bar option leaving a space between the navigation and the rest of the page. All other padding or margins for the top are set at "0".

I am using Atahualpa 3.7.12 and WP 3.6.1 and the site is http://allurefloraldesign.net

If anyone can point me in the right direction to correct this I will be very very grateful

Thanks

Adrian

juggledad Oct 6, 2013 12:34 PM

The issue is the H2 has a 'margin: 1em 0 0.2em;' so you could fix it by changing that to 'margin: 0 0 0.2em;' but that will effect all h2's

You could use
HTML Code:

div.post-bodycopy h2 {margin: 0 0 0.2em;}
which would effect all H2's in any post, or you could use
HTML Code:

div#post-5 div.post-bodycopy h2:first-child {margin: 0 0 0.2em;}
which will apply it to the first H2 in the post body copy of post number 5

adrian29630 Oct 8, 2013 08:40 AM

Hi Juggledad. Thanks You are amazing. I had a feeling that may have had something to do with the problem but had no real idea how to correct it. Your inserts above resolved the problems and all is back to normal.

Thank you so much

Kind regards

Adrian


All times are GMT -6. The time now is 02:54 AM.

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