Site logo

Archived topic

hIDE h4 Tag

3 replies · Started by Mark on March 7, 2017

Viewing posts 1–4 of 4

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

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.

Works like a charm Leo thanks very much!

You're welcome :)

This archived topic is closed to new replies.