Forums

[resolved] post heading and dispaly:inline property (8 posts)

  1. giglio
    Member
    Posted 1 year ago #

    Hi,
    i'm trying to give to a sub-tile <h3> of one of my post the property
    display:inline,
    but this property was not executed.

    In the my theme's forum support someone said:
    The WordPress editor puts an invisible <p> tag around the line after the <h3> element.
    But if it is thrue, i can see no way to solve this problem.

    Some helps?

    Cheers

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

  3. giglio
    Member
    Posted 1 year ago #

    Hi esmi,
    i realized that i should desbribe the problem in an other way:

    is it true that wordpress editor put an invisible <p> in the line after
    heading tag <h1>...<h6> ?

    In my opinion obtain an answer about this base question should be good to solve/ understand my problem.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    is it true that wordpress editor put an invisible <p> in the line after heading tag <h1>...<h6> ?

    No - it's not true.

  5. giglio
    Member
    Posted 1 year ago #

    So here is the post and the problem concerning the h3 title: Aggiornamenti

  6. alchymyth
    The Sweeper
    Posted 1 year ago #

    even if you turned the h3 title into an inline element, the following <p> paragraph tag is still a block element.

    assuming that you want to get the title in line with the following sentences, you need to style the paragraph as display:inline; as well.

  7. giglio
    Member
    Posted 1 year ago #

    Hi Alchy,
    ok i' ll try.
    Even i do not enclosure following paragraph wiht <p> tag wordpress has add it auomatically around y paraghape: i checked on page source.
    Many thanks!

  8. giglio
    Member
    Posted 1 year ago #

    Ok it works.

    Thanks a lot.

    Regards

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.