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] How to remove space left by blank page title (http://forum.bytesforall.com/showthread.php?t=7095)

Stingraynut May 13, 2010 01:53 AM

[SOLVED] How to remove space left by blank page title
 
I have added this CSS to prevent page titles from showing -
Quote:


/* removes all page titles */

div.page div.post-headline {
display: none !important;
}
but the space where the title would be is left there.

This means the dotted line between sidebars and center section goes up too high above the post text.

I tried changing the Loop as per this thread -http://forum.bytesforall.com/showthr...ove+page+title but this made no change.

Is it possible to remove the title space?

juggledad May 13, 2010 04:34 AM

when I use that CSS the space for the title is gone. There is still a little padding at the top, but the title area is gone. Test it out like this.
1) Open a browser window and go to the ATO and remove the css and do a save.
2) open a new tab and go view a page
3) go back and add in the CSS and save
4) Open a NEW tab and view the page
now swap back and forth between the page with the title and the page without, see any difference?

As for the sidebar border, The center area is a one row table, the cells are the sidebars and the middle area. The border (dash lines between the sidebar and middle area) goes from top to bottom of the table row which happens to be the heifht of the sidebars/middle area.

KatyDigg May 13, 2010 04:38 PM

Whilst I have removed the space for the Page Title, using CSS insert,

I have a little padding space at the top, that I cannot remove.

At the bottom, I cannot increase the padding space, so as to offset.


In ATO when I reduce padding at the top, it also, automatically, reduces the padding at the bottom, of which will not increase.

juggledad May 13, 2010 05:06 PM

Berean - what is the exact css are you using?

KatyDigg May 14, 2010 08:23 AM

Quote:

Originally Posted by juggledad (Post 31929)
Berean - what is the exact css are you using?

Juggledad - On my new installation, I have used the following CSS insert

/* removes all page titles */

div.page div.post-headline {
display: none !important;
}

juggledad May 14, 2010 10:13 AM

the center colum, where page and post info goes, does have some padding set at ATO->Style & edit CENTER COLUMN->Center column style

Stingraynut May 14, 2010 10:29 PM

Hi JD - nope, nothing moves, I did as you said, also am forcing a refresh with ctrl +F5.

I'm using little stickers stuck to the screen,marking the position, and there's no movement.

This means I have something set somewhere else, defeating the CSS?

Here's a screen shot of the border going much higher than the first words of the page (no title)
http://i609.photobucket.com/albums/t...um/border1.jpg

I'm, using a custom header template, but I set the page to use the default for this test.

I removed ALL the custom css and same result as in the above image.

juggledad May 15, 2010 04:17 AM

What is your URL

Stingraynut May 15, 2010 07:42 PM

Hi JD, I've sent you the url in an IM

thanks

juggledad May 16, 2010 04:24 AM

change the padding at ato->Style & edit CENTER COLUMN->Center column style. You have it set to
'padding:30px 15px;' so the top and bottom have 30px of padding

Stingraynut May 16, 2010 06:29 AM

JD you're a genius, thank you -

I've set it to zero top padding, an improvement, but the border is still extending up too far, I'm guessing thats where the title would be? -

http://i609.photobucket.com/albums/t...um/border2.jpg

Stingraynut May 16, 2010 06:28 PM

Ok all SOLVED

The main problem was the one JD found, that I had the centre column padded by 30px.

Then I had set the first line as
H1 (to replace the erased title)and H1 has a blank line above and below. So I have added a css insert for the H1
Quote:

margin-top: 0px;
padding-top: 0px;
I've read that this is a general cross browser fix- tested & works in IE7 and FF so far.


All times are GMT -6. The time now is 10:50 PM.

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