• Resolved sourcecodedynamics

    (@sourcecodedynamics)


    Hi! –

    Hopefully this is an easy one…

    How do I stop the name of the page from echoing on the page? I want the menu to reflect “home” but I don’t want the word “Home” beneath the banner on the home page.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Normally plugins would be recommended but they sometimes don’t work. So the best way is to add some css code.

    Find out what the page ID is by looking at your source code <body> tag and in that look for something that is similar to this:

    page-id-701

    Then your custom css in your theme style.css would use this:

    .page-id-701 .entry-title {
    display: none;
    }

    However, I discovered a minor issue with the theme and I have to do an update to fix it because the above code probably won’t work for you. Contact me from my site’s contact page (in the bottom footer is a link) and I will send you a fix.

    Thread Starter sourcecodedynamics

    (@sourcecodedynamics)

    I just shot you a message, thanks.

    BTW, would I be editing the child theme style.css? If, what section?

    Got your email..thanks. The style.css has the fix where a missing closing bracket was supposed to be. This is the parent theme’s style.css so no need to do anything with the child theme’s style.css file. The fix is actually at the very bottom of the Celestial Lite’s style.css with a closing }

    Then the code I posted above will work for you.

    Thread Starter sourcecodedynamics

    (@sourcecodedynamics)

    I added another } and the very end of the parent style.css but it didn’t resolve the issue. I did place the code you initially sent into the child style.css file.

    The end part should look like this:

    .form-search .input-append {
    		margin-top:12px;
    		margin-bottom:12px;
    	}
    }

    When you look at the page ID on the body tag in your page’s source view, what is the ID ?

    Actually I just checked your page, it’s a class of 37,

    So your code you add would be

    .page-id-37 .entry-title {display: none;}

    Thread Starter sourcecodedynamics

    (@sourcecodedynamics)

    child theme, style.css:

    /* Add your style.css changes below */

    .page-id-37 .entry-title {
    display: none;
    }

    /* mobile styling changes below */

    parent theme, style.css:

    .form-search .input-append {
    margin-top:12px;
    margin-bottom:12px;
    }

    }

    No dice ??

    Did I overlook something?

    Honestly, this should work because I did it from the browser level:

    .page-id-37 .entry-title {
    display: none;
    }

    Note: I just went to your site to try this again and then I noticed that you do not have the child theme active? This is why the changes you did in your child theme are not working if this is the case.

    When using a child theme, you have to activate it. Please be aware though once you activate it, your theme options will have to be redone because WordPress will see it as a new theme activation.

    Thread Starter sourcecodedynamics

    (@sourcecodedynamics)

    All clear! I activated the child theme and it worked perfect. Thanks so much for your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Disable page title’ is closed to new replies.