WordPress.org

Ready to get started?Download WordPress

Forums

Book Lite
[resolved] black bar under featured images (8 posts)

  1. dlockefeer
    Member
    Posted 7 months ago #

    Hi,

    I am using featured images on some pages. But there appears a black bar directly under the featured header (which does not appear under the default header). Is it possible to remove that black bar? And how ;-)

    Thanks. Daan
    http://www.meubelmakerijlockefeer.nl

  2. Mr.solution
    Member
    Posted 7 months ago #

    HI! You mean like this..

    .main-navigation {
    margin-top: 500px;
    }
    try that css.
    here is a good place to study
    http://www.w3schools.com

  3. dlockefeer
    Member
    Posted 7 months ago #

    Hi Mr. Solution,

    thanks, that seems to move the menu 500px down.

    But I would like to have the black color behind the featured image to turn white or something, so you don't see the black anymore. Like on this page:

    http://www.meubelmakerijlockefeer.nl/stoelen/

    D

  4. Mr.solution
    Member
    Posted 7 months ago #

    you mean like this..
    #masthead {
    background: url("http://www.meubelmakerijlockefeer.nl/wp-content/uploads/schaven-meubelmaker-amsterdam.jpg") no-repeat fixed center 0 #000000;
    }
    my English is bad.. SORRY.

  5. dlockefeer
    Member
    Posted 7 months ago #

    ..and my CSS knowledge is very bad.

    I went to customize > CSS and to the page with the featured image. I entered your code and changed the color to #ffffff (which should be white). Than the featured image disappears in the preview and it shows the default header image. I clicked on save anyway to see what happens, but nothing!

  6. Mr.solution
    Member
    Posted 7 months ago #

    try..
    #ffffff !important;

  7. dlockefeer
    Member
    Posted 7 months ago #

    Yes! Thanks a lot!

    I don't know exaclty what did it, but I went to editor > custom-header.php, and changed the background color of the featured header image to #ffffff.

    It works.. :-)

  8. dlockefeer
    Member
    Posted 7 months ago #

    resolved..

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.