WordPress.org

Forums

[resolved] how to hide page title (yes again) (23 posts)

  1. Jonnyreno
    Member
    Posted 3 years ago #

    Sorry folks, i am ashamed to ask this but I have been at it for about 14 hrs now with no luck.I have read a encyclopedia worth of help post to try to get this figured out, but every time i try it, I can not find the code on my php pages that they are asking me to modify.

    Here is the site
    http://www.alaskagoldhunters.com/index/

    All I want is the home text gone for good.I can design my own page layout and the "home" text is right in the way :(

    Seriously If i hadn't tried this a million times, i wouldnt ask for help.

  2. Jonnyreno
    Member
    Posted 3 years ago #

    My code is different than help posts say it should be.So,i can never find the right code to modify :(

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    CSS:

    body.home .storytitle {
    display_none}
  4. Jonnyreno
    Member
    Posted 3 years ago #

    where do i put this?In page.php? And where do i put it?Anywhere?

  5. Jonnyreno
    Member
    Posted 3 years ago #

    Sorry I am a noob with this code stuff :(

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    No - it's CSS. It belongs in your theme's CSS. I'd suggest creating a child theme or using a custom CSS plugin for this,

  7. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    If you go for the custom CSS plugin, I recommend using the Jetpack plugin and its Custom CSS functionality to hold your CSS modifications.

  8. Jonnyreno
    Member
    Posted 3 years ago #

    So, i can go into the main server files and go to my themes css and modify that file right? As far as creating a child theme or using a custom CSS plugin for this,I have no idea what that means.I have no coding experience so those sentences make no sense to me:(

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    I would not recommend amending the current theme's stylesheet as the changes will be lost when you update the theme. As Andrew suggested, have a look at the Jetpack plugin.

  10. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Unfortunately making customisations that are not available by default will require coding. If you feel incapable of implementing this, you can hire someone at http://jobs.wordpress.net or live without that customisation ;)

  11. Jonnyreno
    Member
    Posted 3 years ago #

    ok i will do that now.Thank guys ::)

  12. Jonnyreno
    Member
    Posted 3 years ago #

    Ok so i figures it out with Jetpack and now im in the right area i think.This is what it looks like
    h1, .h1 {
    font-weight: normal;
    }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #603913;
    font-family: 'VollkornRegular',Geneva,sans-serif;
    font-size: 40px;
    font-style: normal;
    font-variant: normal;
    letter-spacing: -2px;
    margin: 0;
    padding: 0;
    }
    * {
    margin: 0;
    padding: 0;
    }
    #container2 {
    text-align: left;
    }
    body {
    text-align: center;
    }
    body {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 1.25;

    My question is where would i paste this code?

    body.home .storytitle {
    display_none}
  13. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    So, you should be in the Appearance → Edit CSS section
    http://jetpack.me/support/custom-css/

    Put Esmi's recommended code right at the bottom, below other styles.

  14. Jonnyreno
    Member
    Posted 3 years ago #

    I also have this inside the wordpress jetpack css editor

    body, #wpbody, .form-table .pre, .ui-autocomplete li a {
    color: #333333;
    }
    body {
    font-family: sans-serif;
    font-size: 12px;
    line-height: 1.4em;
    min-width: 600px;
    }
    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    }

    So not sure where to put the above code or if im way off all together.

  15. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Put it right at the bottom, E.g;

    body, #wpbody, .form-table .pre, .ui-autocomplete li a {
    color: #333333;
    }
    body {
    font-family: sans-serif;
    font-size: 12px;
    line-height: 1.4em;
    min-width: 600px;
    }
    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    }
    body.home .storytitle {
    display_none}
  16. Jonnyreno
    Member
    Posted 3 years ago #

    I though i was getting close but apparently its gonna take me another 10 hrs to figure this out. I past the code in the CSS Stylesheet Editor and nothing happens when i preview.Gonna watch some videos on it if i can find some.SOoooo close yet so far :(

  17. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Try this text excerpt instead;

    body.home .storytitle {
     display: none;
    }

    Or, if it still doesn't work, try;

    body.home .page h2 {
     display: none;
    }
  18. MickeyRoush
    Member
    Posted 3 years ago #

  19. Jonnyreno
    Member
    Posted 3 years ago #

    WOOOOOOOOOOOOOHOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!Thank you so much Mickey!!That worked sooooo easy and great!!!!!Problem solved!!!!Thanks to everyone else who tried their best to help my noob butt :)

  20. MMMX
    Member
    Posted 3 years ago #

    Hi

    I am currently having a similar problem with http://www.restorehealthfitness.com on every page the name of the page appears under the menu.

    I have been at this for hours, trying to figure this out. I tried so many different things and still nothing works. I even tried the plugin and the css edit.

    I am using the Fitpro theme for this website.

  21. esmi
    Forum Moderator
    Posted 3 years ago #

    As this theme is not from wordpress.org, try asking the theme developers directly: http://www.fitprosites.com/

  22. MMMX
    Member
    Posted 3 years ago #

    Thanks esmi

    okay I just sent an email to the Developer. Hope they replay soon.

  23. Matt
    Member
    Posted 3 years ago #

    Thanks MicheyRoush, this plugin is exactly what I was looking for :-)

    There are even a couple of options when and where exactly to hide the title:

    Disable title on homepage
    Disable title on page/post
    Disable title on category page
    Disable title on archive page

Topic Closed

This topic has been closed to new replies.

About this Topic