• Hi,

    I’m a beginner and there’s a few things I can’t find after a lot of searching.

    No.1 My wordpress dashboard does not show all the options I have seen in other peoples. For example ‘hide header’

    No.2 I want to hide/cover/delete the title and grey line on one specific page. This page https://solidedge.com.au/home-2/ If i delete the code below in the layout.css it removes it, but from every page.

    .main h1 {
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 20px;

    I guess i could make my page point towards a new layout.css but i don’t know how to do that.

    Any help will be much appreciated. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Re your No 1:

    Not sure what you mean by ‘hide header’ – I even googled it”:

    https://www.google.ca/search?q=hide+header+wordpress&gbv=1&hl=en&sa=X&as_q=&nfpr=&spell=1&ved=0CBAQvwVqFQoTCPCmpPjykMgCFUEbPgodKYMIlg

    and did not come up with any relevant results – can you explain more?

    Re your No 2:

    If you don’t enter a Title for your post when creating or editing it, it wont show up on the front end.

    Depending on your theme, if the title is not shown on the front end, the grey underline may not be either.

    Are you running a child theme? If so, you could put an If-Then around where the header file displays the title. You would need to find the slug of the page you want to eliminate the title from and, in the header.php file in your child theme, include this:

    if(!(get_the_slug()=="home2slug"){
    ?>
    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    <?php }

    You should only need to put the first 2 lines and last line of this around your title header. And replace “home2slug” with the actual slug for the page.

    Hope that helps.

    Thread Starter georgecledwyn

    (@georgecledwyn)

    RE: No 1 – Maybe in older versions of wordpress you had options for the header i.e in the appearance drop down on the left hand side you could then select header. I only have themes, customise, menus, edit css, editor

    Not so important anyway.

    No 2 – When I leave it blank the grey line is still there… also the white space

    Thread Starter georgecledwyn

    (@georgecledwyn)

    woalmoore you have blown my mind – i need a little more spoon feeding

    Thread Starter georgecledwyn

    (@georgecledwyn)

    i’m not running a child theme. I have it offline on a local server at the moment.

    I guess it’s just the grey line which i need to delete. This is code I need to delete in the layout.css – how can I do it so that it only effects one specific page?

    .main h1 {
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 20px;

    Thread Starter georgecledwyn

    (@georgecledwyn)

    Is there a way to move my top image up, so it covers the line?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to hide title from individual page?’ is closed to new replies.