[Resolved] hIDE h4 Tag

Home Forums Support hIDE h4 Tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #288578
    Mark

    Hi there, I am trying to hide H4 tags per page but can only do so on my home page.

    When I want to merge the hero image with the site header and have a transparent background, I have to choose some words to put into the content area so that those settings appear, I dont want any words there just the transparent header merge so I used a H4 tag and disabled it on the home page with this code:

    .home h4 {
    display: none;
    }

    This worked great but I want to do this on another page so I tried:

    .postid-63 h4 {
    display: none;
    }

    But this did not work, how can I disable H4 tags globally using the advanced CSS module?

    Or is there a way to merge the background image without having to imput anything into the content settings?

    Cheers

    GeneratePress 1.3.44
    GP Premium 1.2.94
    #288579
    Leo
    Staff
    Customer Support

    Hi Mark,

    You can add HTML comment as your content like this: <!--This is a comment. Comments are not displayed in the browser-->

    Let me know if this helps.

    #289847
    Mark

    Works like a charm Leo thanks very much!

    #289943
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.