WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove page title/background color in title area (5 posts)

  1. alexanderdejong
    Member
    Posted 2 years ago #

    Hi Everyone,

    I'm glad to tell you this is my first post in the troubleshooting section been getting very far with making a nice website without having to ask for much help :)

    Anyway, I've been having a bit of styling problem on my multilingual page. On my (non translated) 'home' section the title and background area is gone but in the translated version of my home its still there. How could I go about removing this? Can i make another static page somehow?

    normal home
    translated

    Do you see the grey bar above the currency ticker and image slider? I can't figure out how to get rid of it! Please help :)

  2. alexanderdejong
    Member
    Posted 2 years ago #

    Hi,

    I think my problem has something to do with this code. How can i make an exception with it so that the page template does not call this code?

    .page-header{ width:880px; margin:0 -60px 30px -60px; padding:30px 60px;
    border-top:1px solid #f0f0f0; border-bottom:1px solid #f0f0f0; background-color:#f9f9f9; }

    .page-header h3{ margin-bottom:0; }

  3. Alain Lankers
    Member
    Posted 2 years ago #

    How did you build your template in the English version? Can't you check your code and compare with the Korean version?

    Probably you'll need a different template for your homepage in which you remove the .page-header.

  4. alexanderdejong
    Member
    Posted 2 years ago #

    Thanks Alain, I just made a few mistakes, your comment helped me back on track.

    I added a nopage-header part to my css file (in which i removed the formatting).

    /* =page-header
    .page-header{ width:880px; margin:0 -60px 30px -60px; padding:30px 60px; border-top:1px solid #f0f0f0; border-bottom:1px solid #f0f0f0; background-color:#f9f9f9; }
    .page-header h3{ margin-bottom:0; }

    /* =nopage-header

    and made a new page template by copying my page.php and adding (at the top):
    <?php
    /*
    Template Name: Homepage (No Title)
    */
    ?>

    thanks..

  5. alexanderdejong
    Member
    Posted 2 years ago #

    <resolved>

Topic Closed

This topic has been closed to new replies.

About this Topic