• Resolved isaac85

    (@isaac85)


    Is it possible to format pieces of text differently without a paragraph break?

    I’m trying to display a link with Heading 3 formatting and then a short description under it with Paragraph formatting. Putting a paragraph break between the two looks terrible.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    You may want to try using span or br tag.

    Thank you

    Thread Starter isaac85

    (@isaac85)

    Hi, thanks for your answer. I tried playing around with span and div tags, but nothing worked. Here’s a piece of the code I’m trying to work with. Do you have any ideas? Thanks!

    <h3>Grill on the Go Catering</h3>
    <span style=”font-family: Arial, sans-serif;”>Prague’s best burgers and sandwiches, fresh from the grill. We bring all the equipment and take care of cleanup so you can relax and enjoy your event.</span>

    Hi,

    Are you referring to the text on this page?
    https://www.ddstreetfood.cz/en/catering-2/

    You can reduce the bottom margin of your H3 so that it reduces the gab.
    Use the following in your customizer’s Additional CSS

    .entry-content h3 {
        margin-bottom: 0px !important;
    }

    Thank you

    Thread Starter isaac85

    (@isaac85)

    That’s perfect, thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different format in same paragraph’ is closed to new replies.