Site logo

[Resolved] Hide content title without disable it

Home Forums Support [Resolved] Hide content title without disable it

Home Forums Support Hide content title without disable it

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1588580
    Rui

    I don’t want to disable the Content title for SEO reasons. But I don’t need do show it in the front page of my site.

    So I used a CSS rule like h1 { display:none; } just for that page. However, I noticed that by doing this a considerable blank space appears in place.

    So, how can I hide the title header (H1) without generating that space (and in the source code it would still be there, for SEO).

    #1588582
    Elvin
    Staff
    Customer Support

    Hi,

    Can you link us to the page you’re working on so we could check for the reason behind the “blank space”.

    You can provide the site details on the Private Information text field. Thank you.

    #1588587
    Rui

    Sorry, Elvin! I did.

    #1588589
    Elvin
    Staff
    Customer Support

    Thanks.

    I’ve checked your site and I see a space but I don’t see it coming from the hidden h1.entry-title.

    Perhaps you’re pertaining to the margin-top coming from the entry-content? As shown here:
    https://share.getcloudapp.com/geuoRygW

    If this is the case, we can remove it with this CSS:

    .entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
        margin-top: 0em;
    }
    #1588591
    Rui

    Just perfect!
    Thank you very much.

    #1588606
    Elvin
    Staff
    Customer Support

    Just perfect!
    Thank you very much.

    Nice one. No problem. 😀

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.