• Resolved Rickckck

    (@rickckck)


    Hi,

    I’m trying to remove or disable the header image on all pages except for det front/home page. There isn’t a GUI way of doing this from what I’ve found (or not found 🙂

    Any good ideas on how to solve this?

    Thanks in advance!

    /R

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    I guess you can pass:

    .header-image {
    display: hidden;
    }

    in the beginning and then enable it for front page:

    body.home .header-image {
    display: block;
    }
    Thread Starter Rickckck

    (@rickckck)

    Is this modification made in style.css?

    Another option as I see it is to modify this code in order to make it reverse, in other words, disable border for custom headers for posts and pages.

    /* Tip06 - Custom headers for posts and pages. Uncomment following CSS rules to disable border and shadow on main header: */
    
    /*
    img.header-image,
    .site-header img.wp-post-image {
    	border-radius: 0;
    	box-shadow: none;
    } */

    What do you think?

    Thread Starter Rickckck

    (@rickckck)

    Never mind! Had an custom header in one page that confused me. It works like a charm.

    Really like your theme by the way. Keep up the good work!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove or disable header image’ is closed to new replies.