WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Avoid p tags from wrapping a strong tag (8 posts)

  1. jknetdesign
    Member
    Posted 1 year ago #

    If I have something bolded that's above an H4, how can I prevent this from being inside a paragraph tag?

    I don't want the space below the dates.
    I do have the TinyMCE installed and the stop removing option is not checked.

    Link

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Do you have right-click disabled?

  3. Ellys Kho
    Member
    Posted 1 year ago #

    try to removing  &nbsp or <.br /> tag. that usually Make Space.

  4. jknetdesign
    Member
    Posted 1 year ago #

    Right click is activated now. The second paragraph is a good example.

    Friday, April 12, 2013
    <h4>San Francisco's Exploratorium: Opening Gala</h4>

    I could tighten up the h4 to the strong but I can't just tell the client to go into the HTML to do this.

  5. jknetdesign
    Member
    Posted 1 year ago #

    <strong>Friday, April 12, 2013</strong>
    <h4>San Francisco's Exploratorium: Opening Gala</h4>
  6. paulwpxp
    Font hero
    Posted 1 year ago #

    Just for this page only. I would make <p> to have zero margin, and apply that margin to <h4> instead.

  7. jknetdesign
    Member
    Posted 1 year ago #

    I'll go with no margins on this page. Thank you.

  8. jknetdesign
    Member
    Posted 1 year ago #

    Resloved

Topic Closed

This topic has been closed to new replies.

About this Topic