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 title AND its line space from a Page (http://forum.bytesforall.com/showthread.php?t=20482)

joe hark Jun 10, 2013 07:48 AM

[SOLVED] how to remove title AND its line space from a Page
 
There is a thread (closed) that says to remove title from all pages/posts:

body.page-id-2818 div.post-headline h1, div.post-headline h2 {display: none;}

But i want to remove from only one specific page per this photo. The above does not tell me where to insert the code, so that too would be greatly appreciated. Thanks in advance.

http://www.americantechnologytrainin...reenshot02.gif

juggledad Jun 10, 2013 10:01 AM

put the CSS in the 'CSS Inserts' option

this 'body.page-id-2818 div.post-headline h1 {display: none;}' will hide it on page ID 2818

joe hark Jun 10, 2013 10:36 AM

The page in question is ID-2, so in CSS Inserts, as the first line, I pasted

CSS Inserts
Add CSS code here that you want to append to your theme's CSS file.

body.page-id-2 div.post-headline h1 {display: none;}

I created the Page without giving it a title but the empty space is unchanged.

Here's the site.

http://americantechnologytraininginstitute.com

BTW - thanks again for your help. it is sincerely appreciated.

lmilesw Jun 10, 2013 10:46 AM

Not adding a title doesn't get rid of the space it takes up. The display none does that. To move the image up a bit you could use
HTML Code:

.post {
    margin-top: -20px !important;
}


joe hark Jun 10, 2013 11:11 AM

thanks! that second answer worked.

But thanks to both of you for making ATA so well supported.


All times are GMT -6. The time now is 07:37 PM.

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