Removing header image for specific pages

  • Author
    Posts
  • #2134621

    luminarysba
    Member

    Hi, I have a header image that I am trying to remove from all pages but the home page. I saw on another support thread that I should enter the following CSS code to make that happen:

    .page .headerimage { display: none; }

    I tried this, but the image still shows on all my pages.

    Also, is there a way to create a link from my header image to another file or page?

    Thanks in advance for your help!

    The blog I need help with is luminarysba.com.

    #2134772

    nizamilputra
    Member

    Hi there,

    You can remove header image with this css;

    #slider-wrap{
      display: none;
    }

    If you don’t want to remove it on home page, add this css;

    .home #slider-wrap{
      display: block;
    }
    #2134871

    luminarysba
    Member

    Worked like a charm…thank you!

    #2134872

    luminarysba
    Member

    What about the other part of my question: how do I create a link from my slider image to another URL?

    #2134908

    What about the other part of my question: how do I create a link from my slider image to another URL?

    I found and answered this question over in another thread. See https://en.forums.wordpress.com/topic/how-do-i-create-link-to-custom-url-from-header-image?replies=3#post-2138619

The topic ‘Removing header image for specific pages’ is closed to new replies.